View Full Version : Rotating Point Modification

11-18-2003, 10:39 AM
Right now, when I ajust the camera's angle (in 3d), it rotates around the lower left corner of the camera. How might I change this to the center of the camera? I tried translating x and y (z is depth) by 5, then -5, but they didn't sem to do anything. Help!

11-05-2011, 04:16 PM
What rotates?
What code are you using?

11-11-2011, 10:43 PM
it seems that it is not possible without any mistake
so if you post code or a part of code then one can understand your problem

11-12-2011, 03:13 AM
you have to change the angle of rotation by using glutTimerFunc function here is the sample example http://codeincodeblock.blogspot.com/2011/11/rotate-object-in-openglglut-sample.html

11-12-2011, 06:18 AM
how did you arrive at the conclusion he's using Glut?