View Full Version : How do I rotate the camera around an object?

08-16-2009, 05:37 PM
Hey all, I found some great simple source code for cube environment mapping that uses GLUT :D


I am having trouble modifying the program so that the camera rotates around the object. This source code just rotates the object with a stationary camera, which is missing half the fun of this sweet graphics technique. Can anybody help?