If I have some code that looks like this:
do some object rotates here
and I am trying to fly my eyepoint where once I roll,the axes still are in the same position(y up,x l and r, z out of screen) and without using gluLookAt or quaternions, what should I fill in for the question marks. I have been told to use some combination of trig functions, but I don’t know which ones and of what order.
Can anyone help?