lucidmm

04-23-2002, 09:40 AM

Suppose the current matrix is M and I call the following code fragment.

glMatrixMode(GL_PROJECTION);

glLoadIdentity();

glMatrixMode(GL_MODELVIEW);

Then is the modelview matrix still M?

Also, is there a function that returns the current matrix?

Thanks for your help.

glMatrixMode(GL_PROJECTION);

glLoadIdentity();

glMatrixMode(GL_MODELVIEW);

Then is the modelview matrix still M?

Also, is there a function that returns the current matrix?

Thanks for your help.