An abstract class representing a virtual camera and an optional mouse interaction. More...
#include <Camera.h>
Inherited by CamtransCamera, and OrbitingCamera.
Public Member Functions | |
| virtual Matrix4x4 | getProjectionMatrix () const =0 |
| Return the projection matrix for the current camera settings. | |
| virtual Matrix4x4 | getModelviewMatrix () const =0 |
| 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 | mouseUp (int x, int y) |
| Called when the mouse button is released. | |
| virtual void | mouseScrolled (int delta) |
| Called when the scroll wheel changes position. | |
An abstract class representing a virtual camera and an optional mouse interaction.
Part of the CS123 support code.
1.7.1