Rotating Point Modification

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!

What rotates?
What code are you using?

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

you have to change the angle of rotation by using glutTimerFunc function here is the sample example

how did you arrive at the conclusion he’s using Glut?