#include <Camera.h>
Public Member Functions | |
void | ChangeVelocity (GLfloat vel) |
void | ChangeHeading (GLfloat degrees) |
void | ChangePitch (GLfloat degrees) |
void | SetPrespective (void) |
Camera () | |
~Camera () |
Camera::Camera | ( | ) |
Constructor.
Camera::~Camera | ( | ) |
Destructor.
void Camera::ChangeVelocity | ( | GLfloat | vel | ) |
Changes the velocity of the camera in forward direction.
void Camera::ChangeHeading | ( | GLfloat | degrees | ) |
Changes the heading of the camera. Negative values are negative rotations.
void Camera::ChangePitch | ( | GLfloat | degrees | ) |
Changes the pitch of the camera. Negative values are negative rotations.
void Camera::SetPrespective | ( | void | ) |
Sets the perspective from the given parameters.