Quick question, how do you ‘set’ a matrix when using something like glPerspective or glOrtho?
I’m coding for openGL 3.3, so I’m sure if using glMatrixMode(GL_PROJECTION) and etc is the right thing to do
In C++ openGL (All the tutorial’s I’m looking at are in C++) you can do, but how is this done using LWJGL?
//C++ code of setting a projection matrix
glm::mat4 Projection = glm::perspective(45.0f, 4.0f / 3.0f, 0.1f, 100.0f);