PDA

View Full Version : glmultmatrix



JPH
09-01-2000, 01:08 AM
what is wrong in this code???

glMatrixMode(GL_MODELVIEW);glLoadIdentity();
glmultmatrif(m);

glulookat(......,.....);

,if m is a rotation matrix?

it just doesn't work.

what about quaternions?where can i get info from them?i'm pretty much just beginning opengl programming.are quads difficult to compose?

thanks,jph.

Bob
09-01-2000, 03:03 AM
To know what's wrong, we need to know what you want...

Nothing is wrong with your code itself. But I guess you have to change the order of glMultMatrix and gluLookAt.