incus
09-14-2002, 11:02 AM
how can i get the modelview matrix so that i can change the trtanslation part?
GLdouble mv[16];
glGetDoublev(GL_MODELVIEW_MATRIX, mv);
if you just want to change the matrix, dont get it..
glMatrixMode(GL_MODELVIEW);
glTranslatef(x,y,z);
that will do fine
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.