OpenGL and glRotate
hi,
glRotate takes four parameters the first is the angle and the other three parameters define the vector which is the rotation-axis, right? If not, how can I interpret the x, y and z values..
The second thing I want to know is wich formula does opengl use to perform this rotation?
[ 1 0 0 0 ]
[ 0 1 0 0 ]
[ 0 0 1 0 ]
[ 0 0 0 1 ]
after glRotate(w, x, y, z);
[ a b c 0 ]
[ d e f 0 ]
[ g h i 0 ]
[ 0 0 0 1 ]
what is a, b, c, ... ?
please help..
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement