#include <Camera.h>
Collaboration diagram for Fluxus::Camera:
Public Member Functions | |
Camera () | |
~Camera () | |
Renderer interface | |
bool | NeedsInit () |
void | DoProjection () |
Apply the projection matrix to the stack. | |
void | DoCamera () |
Apply the camera matrix to the stack. | |
Accessors | |
dMatrix * | GetMatrix () |
void | SetMatrix (const dMatrix &m) |
dMatrix * | GetLockedMatrix () |
dMatrix | GetProjection () |
float | GetUp () |
float | GetLeft () |
void | LockCamera (Primitive *p) |
Lock the camera to this primitive's position. | |
void | SetCameraLag (float s) |
void | SetOrtho (bool s) |
void | SetOrthoZoom (float s) |
void | SetFrustum (float u, float d, float l, float r) |
void | SetClip (float f, float b) |
Definition at line 27 of file Camera.h.
Camera::Camera | ( | ) |
Definition at line 21 of file Camera.cpp.
Camera::~Camera | ( | ) |
Definition at line 38 of file Camera.cpp.
bool Fluxus::Camera::NeedsInit | ( | ) | [inline] |
void Camera::DoProjection | ( | ) |
void Camera::DoCamera | ( | ) |
void Fluxus::Camera::SetMatrix | ( | const dMatrix & | m | ) | [inline] |
dMatrix Camera::GetProjection | ( | ) |
Definition at line 72 of file Camera.cpp.
void Camera::LockCamera | ( | Primitive * | p | ) |
void Fluxus::Camera::SetFrustum | ( | float | u, | |
float | d, | |||
float | l, | |||
float | r | |||
) | [inline] |