How do I get out of the unit coordinate system where 1 is the side of the screen?
How do I use glVertexPointer? I use
buffer = DoubleBuffer.wrap(array);
gl.glVertexPointer(2,GL.GL_DOUBLE, 0, buffer);
But it says Argument “ptr” was not a direct buffer…
Also, all the methods don’t have any documentation (from netbeans). How can I get netbeans to display documentation and not label everything as arg0, arg1, arg2, etc. instead of meaningful names.