OpenGL Discussion and Help Forums
>
OpenGL Developers Forum
>
OpenGL coding: beginners
> Getting the current Matrix?
PDA
View Full Version :
Getting the current Matrix?
GameMaker
10-22-2001, 08:06 PM
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?
Spiral Man
10-22-2001, 08:17 PM
GLfloat matrix[16];
glGetFloatv(GL_MODELVIEW_MATRIX,matrix);
hope that helps...
Powered by vBulletin® Version 4.2.3 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.