0
votes
1answer
159 views

Would it be inefficient to call LWJGL from C++?

I like LWJGL, but Java? Not so much. I recently found out a way to call Java methods from C++. But would this be inefficient? I mean, calling a C/C++ DLL from Java, just to be called back again into ...
3
votes
1answer
337 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 ...