|
YAGE
1.0
Yet Another Game Engine
|
The game camera implemented as a Singleton. Primary use is to generate Model-View-Projection matrices. More...
#include <Camera.h>
Public Member Functions | |
| Camera (Camera const &)=delete | |
| void | operator= (Camera const &)=delete |
Static Public Member Functions | |
| static Camera & | GetInstance () |
| static glm::mat4 | GetProjectionMatrix () |
| Gets the camera projection matrix. More... | |
| static glm::mat4 | GetViewMatrix () |
| Gets the camera view matrix. More... | |
| static glm::vec3 | GetEyeDirection () |
| Gets the direction the camera is looking at. More... | |
| static void | resizeWindow (float width, float height) |
| static void | ComputeMatrices () |
Static Public Attributes | |
| static float | fov = 45.0f |
| The field of view. More... | |
| static float | aspect |
| The aspect ratio. More... | |
| static float | zNear |
| static float | zFar |
The game camera implemented as a Singleton. Primary use is to generate Model-View-Projection matrices.
|
delete |
|
static |
|
static |
Gets the direction the camera is looking at.
|
inlinestatic |
|
static |
Gets the camera projection matrix.
|
static |
Gets the camera view matrix.
|
delete |
|
static |
|
static |
The aspect ratio.
|
static |
The field of view.
|
static |
|
static |