I'm trying to convert the following code to Java:
glVertexPointer( 3, GL_FLOAT, 0, &(mesh.m_PositionBuffer[0]) );
Where mesh::mPositionBuffer
is std::vector<glm::vec3>
;
How would I make a similar call to glVertexPointer
with a first index to the position buffer?
Porting
tag. – Byte56♦ Jan 26 '12 at 17:54