A simple orbiting camera. More...
|virtual Matrix4x4||getProjectionMatrix () const|
|Return the projection matrix for the current camera settings. |
|virtual Matrix4x4||getModelviewMatrix () const|
|Return the modelview matrix for the current camera settings. |
|virtual void||mouseDown (int x, int y)|
|Called when the mouse button is pressed down. |
|virtual void||mouseDragged (int x, int y)|
|Called when the mouse button is dragged. |
|virtual void||mouseScrolled (int delta)|
|Called when the scroll wheel changes position. |
A simple orbiting camera.
You shouldn't need to work on this class. It's there for your convenience, really, and the way this camera is implemented is NOT the way you should be implementing your camera in the assignments. We hide the real implementation by using OpenGL to perform the camera calculations.