#include <Camera.h>
Definition at line 15 of file Camera.h.
void Camera::setSize |
( |
glm::i32vec2 |
s | ) |
|
|
static |
- FIXME:
- TODO instead of mirroring the Y axis in the shader, scale with -1 here
Definition at line 80 of file Camera.cpp.
void Camera::handleAction |
( |
ActionEvents |
action, |
|
|
bool |
isFinished |
|
) |
| |
|
static |
void Camera::handleMouseMotion |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
static |
void Camera::handleControllerAxis |
( |
float |
value, |
|
|
KeyboardButton |
axis |
|
) |
| |
|
static |
static void Camera::setPosition |
( |
glm::vec3 |
p | ) |
|
|
inlinestatic |
- FIXME:
- The Y axis seems to be the source of all evil?
Definition at line 26 of file Camera.h.
static glm::vec3 Camera::getPosition |
( |
| ) |
|
|
inlinestatic |
static glm::vec2 Camera::getRotation |
( |
| ) |
|
|
inlinestatic |
static glm::mat4 Camera::getProjectionMatrix |
( |
| ) |
|
|
inlinestatic |
static glm::mat4 Camera::getViewMatrix |
( |
| ) |
|
|
inlinestatic |
static void Camera::setSensitivityX |
( |
float |
sens | ) |
|
|
inlinestatic |
static float Camera::getSensitivityX |
( |
| ) |
|
|
inlinestatic |
static void Camera::setSensitivityY |
( |
float |
sens | ) |
|
|
inlinestatic |
static float Camera::getSensitivityY |
( |
| ) |
|
|
inlinestatic |
static void Camera::setUpdateViewFrustum |
( |
bool |
u | ) |
|
|
inlinestatic |
static bool Camera::getUpdateViewFrustum |
( |
| ) |
|
|
inlinestatic |
static void Camera::setRoom |
( |
int |
r | ) |
|
|
inlinestatic |
static int Camera::getRoom |
( |
| ) |
|
|
inlinestatic |
static void Camera::setShowOverlay |
( |
bool |
s | ) |
|
|
inlinestatic |
static bool Camera::getShowOverlay |
( |
| ) |
|
|
inlinestatic |
void Camera::displayFrustum |
( |
glm::mat4 |
MVP | ) |
|
|
static |
void Camera::displayUI |
( |
| ) |
|
|
static |
void Camera::calculateFrustumPlanes |
( |
| ) |
|
|
staticprivate |
glm::vec3 Camera::posSpeed |
|
staticprivate |
glm::vec2 Camera::rotSpeed |
|
staticprivate |
glm::mat4 Camera::projection |
|
staticprivate |
float Camera::rotationDeltaX = 0.75f |
|
staticprivate |
float Camera::rotationDeltaY = 0.75f |
|
staticprivate |
bool Camera::updateViewFrustum = true |
|
staticprivate |
bool Camera::dirty = true |
|
staticprivate |
bool Camera::showOverlay = false |
|
staticprivate |
bool Camera::movingFaster = false |
|
staticprivate |
The documentation for this class was generated from the following files: