I’m having a trouble drawing a scene of mine.
I have a world, which is composed of a board, and a robot on the board. The board’s vertex coordinates never change (that is, they get the same glvertex3f values every frame). The robot can move left and right on the board. Its vertex value’s don’t change either, but gltranslatef is called before it is drawn. I only change the x parameter to gltranslatef for the robot.
Now how do I get the scene to orbit from a fixed distance around the robot?
I’m stuck on this, nothing I try works, it just seems to rotate around odd points that aren’t central to the robot.