View Full Version : Rotating Point Modification
11-18-2003, 11: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, 05:16 PM
What code are you using?
11-11-2011, 11: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, 04: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, 07:18 AM
how did you arrive at the conclusion he's using Glut?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.