|
Bubba-3D
0.9.0
Awesome game engine!
|
#include <Camera.h>
Public Member Functions | |
| Camera (chag::float3 position, chag::float3 lookAt, chag::float3 up, float fov, float ratio, float nearPlane, float farPlane) | |
| virtual void | update (float dt)=0 |
| virtual chag::float4x4 | getViewMatrix ()=0 |
| virtual chag::float4x4 | getProjectionMatrix ()=0 |
| virtual void | setPosition (chag::float3 position) |
| virtual void | setLookAt (chag::float3 lookAt) |
| virtual void | setUpVector (chag::float3 up) |
| 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 () |
Protected Attributes | |
| 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 |
1.8.11