3
votes
1answer
345 views

How do I call glVertexPointer in Java?

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 ...