I am trying to rotate my camera around a cube I have at the origin.
I am currently using
gluLookAt (camera_x, camera_y, camera_z, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
to postion the camera from different points along the 3 axes.
I was told to use:
In order to Pre-Multiply the rotation, but how does this help me supply parameters to gluLookAt()?
I have looked into this and cannot find the answer.
Also, I know that calls to glGetFloatv() are costly, I just want to do this in the simplist way possible.