Yes. Also, both of those arrays are consecutive. Another example:
var[num_vertex][3];
[Memory Internal][[0][1][2]][[0][1][2]]...
var[num_vertex*3];
[Memory Internal][0][1][2][4][5][6]...
It''s only ''sparse'' like I displayed if it (the second dimension, actually) is dynamically allocated. OpenGL _only_ takes single dimension consecutive arrays for vertex arrays (with some exceptions, but that''s the default).
[Resist Windows XP''s Invasive Production Activation Technology!]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement