OpenGL Matrix Operations
glMatrixMode(GL_MODELVIEW); to enable changes to the modelview matrix (as opposed to GL_PERSPECTIVE, which enables changes to the perspective matrix)
and then
glPushMatrix() to push a matrix onto the stack
and glPopMatrix() to pop a matrix from the stack. (I kid you not)
This stuff, and more, can be found in the openGL man pages. Its worth reading them if you're serious about openGL coding:
http://www.sun.com/software/graphics/OpenGL/manpages/
Hope that helps.
[This message has been edited by benjamin bunny (edited November 27, 1999).]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement