- projectionMatrix = MatrixUtils.CreateProjectionMatrix(45.0f, window.getWidth() / window.getHeight(), nearClipping, farClipping);
- glMatrixMode(GL_PROJECTION);
- glLoadIdentity();
- FloatBuffer tmp = BufferUtils.createFloatBuffer(16);
- projectionMatrix.store(tmp);tmp.rewind();
- glLoadMatrix(tmp);
- glMatrixMode(GL_MODELVIEW);