Vertex arrays ?
how do you fill a vertex array to use with opengl with linked lists or someother nonstatic data structure?
Vertex arrays expect just what they''re named for, arrays. malloc however many vertices you have in your list and traverse the list and copy the vertices to the array.
------------
- outRider -
------------
- outRider -
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement