Is it possible to use a std::vector in place of a c-style array of floats?
yes
glVertexPointer(…, &mything[0]);
thanks for the reply, sorry I didn’t think of that on my own.
Is it possible to use a std::vector in place of a c-style array of floats?
yes
glVertexPointer(…, &mything[0]);
thanks for the reply, sorry I didn’t think of that on my own.