zan yan
July 26th, 2005, 11:29 PM
I want to use the glulookat() function to represent translation and rotation. but in real program , I don't know how to convert from translation and rotation matrix to glulookat() function.
for instance, I want to rotate 180 degree along x axis, or y axis, or z axis, what was the coresponding glulookat() function to produce the same modelview matrix ?
thanks
for instance, I want to rotate 180 degree along x axis, or y axis, or z axis, what was the coresponding glulookat() function to produce the same modelview matrix ?
thanks