Transformations
glTranslate{d}{f}(x,y,z);
- translation matrix T(x,y,z)
glRotate{d}{f}(angle, x, y, z);
- matrix for positive (anti-clockwise) rotation of angle degrees about vector (x,y,z)
If M is current matrix, and Q is transformation matrix, then new current matrix is QM