Passing a dynamic array into an OpenGL vertex buffer? Any thoughts.

8    14 Sep 2015 03:30 by u/1011011101101

It wants a static array but I cant think of a way to import vertex coordinates from a file in any other way but a dynamic array. I also thought of adding an include file that updates with static array coordinates but that seemed like a headache and I was lost, any suggestions would be awesome.

TLDR: PLY file data into a static array that OpenGL can pass to the vertex buffer.

5 comments