J_Ramone
04-15-2001, 04:33 PM
Hello Guys,
I'm rotating my camera using glRotatef, this work's fine, but my problem is how can I get the new coordinates.
For example I draw a line, after I make a rotation. If I draw a new line, they're coordinates is wrong. But if I rotate the camera to the original angle, the line is in correct position.
How can I make this tranformation?
http://www.opengl.org/discussion_boards/ubb/smile.gif
Thank´s for the moment.
Joe Ramone
I'm rotating my camera using glRotatef, this work's fine, but my problem is how can I get the new coordinates.
For example I draw a line, after I make a rotation. If I draw a new line, they're coordinates is wrong. But if I rotate the camera to the original angle, the line is in correct position.
How can I make this tranformation?
http://www.opengl.org/discussion_boards/ubb/smile.gif
Thank´s for the moment.
Joe Ramone