I can’t seem to find out how to get the current matrix from opengl. I want to multiply a point by this matrix. Does anyone know how I can do this?
GLfloat matrix[16];
glGetFloatv(GL_MODELVIEW_MATRIX,matrix);
hope that helps…
I can’t seem to find out how to get the current matrix from opengl. I want to multiply a point by this matrix. Does anyone know how I can do this?
GLfloat matrix[16];
glGetFloatv(GL_MODELVIEW_MATRIX,matrix);
hope that helps…