|
Bubba-3D
0.9.0
Awesome game engine!
|
Implementation of the Camera interface. More...
#include <PerspectiveCamera.h>
Public Member Functions | |
| PerspectiveCamera (chag::float3 position, chag::float3 lookAt, chag::float3 up, float fov, float ratio, float nearPlane, float farPlane) | |
| chag::float4x4 | getViewMatrix () |
| chag::float4x4 | getProjectionMatrix () |
| void | update (float dt) |
| void | setPosition (chag::float3 position) |
| void | setLookAt (chag::float3 lookAt) |
| void | setUpVector (chag::float3 up) |
Public Member Functions inherited from Camera | |
| Camera (chag::float3 position, chag::float3 lookAt, chag::float3 up, float fov, float ratio, float nearPlane, float farPlane) | |
| chag::float3 | getPosition () |
| chag::float3 | getLookAt () |
| chag::float3 | getUp () |
Public Member Functions inherited from IComponent | |
| void | bind (GameObject *owner) |
| virtual void | beforeCollision (GameObject *collider) |
| virtual void | duringCollision (GameObject *collider) |
| virtual void | afterCollision (GameObject *collider) |
| virtual void | onDeath () |
Additional Inherited Members | |
Protected Attributes inherited from Camera | |
| chag::float3 | m_vPosition |
| chag::float3 | m_vLookAt |
| chag::float3 | m_vUp |
| float | m_fFov = 60.0f |
| float | m_fRatio = 1.0f |
| float | m_fNearPlane = 0.1f |
| float | m_fFarPlane = 100.0f |
Protected Attributes inherited from IComponent | |
| GameObject * | owner |
Implementation of the Camera interface.
Provides a perspective projection.
Definition at line 26 of file PerspectiveCamera.h.
1.8.11