Advertisement

What does glPush and Pop Matrix do?

Started by May 21, 2001 09:52 PM
0 comments, last by Jackthemeangiant 23 years, 9 months ago
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 .

Resist Windows XP''s Invasive Production Activation Technology!
http://druidgames.cjb.net/

This topic is closed to new replies.

Advertisement