What does glPush and Pop Matrix do?
Hello,
I was just wondering what glPushmatrix, and glPopmatix do?
Thanks,
Jack
glPushMatrix pushes a copy of the currently select matrix onto a stack, and makes the current non-pushed copy equal to the pushed copy. glPopMatrix discards the current non-pushed copy of the currently selected matrix, and replaces it with the most recently pushed matrix, which becomes no longer pushed. Hopefully that made since; It''s just a basic stack
.

http://druidgames.cjb.net/


http://druidgames.cjb.net/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement