🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
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