Public Member Functions

OrbitingCamera Class Reference

A simple orbiting camera. More...

#include <OrbitingCamera.h>

Inherits Camera.

Collaboration diagram for OrbitingCamera:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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.

Detailed Description

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.

Author:
Evan Wallace (edwallac)
Ben Herila (bherila)
Date:
9/1/2010

The documentation for this class was generated from the following files: