What is a right datatype in C++ for OpenGL scene representation with use of GLSL
- by Rarach
I am programming in C++ OpenGl with GLSL. Until now I have been using a data structure that is composed of std::vector filled with structures of vertexes and with their parameters (position , normal, color ...) as a global variable for all the code.
My question is, as I am using VBOs for drawing - is this a good approach to this problem?
I am…