Introduction - If you have any usage issues, please Google them yourself
rotating cube with viewer movement Chapter 5
cube definition and display similar to rotating-cube
program
We use the Lookat function in the display callback to point
the viewer, whose position can be altered by the x,X,y,Y,z,
and Z keys
The perspective view is set in the reshape callback