3 #include "../Maths/Mat4.h" virtual ~CameraComponent()
A virtual destructor.
Definition: CameraComponent.cpp:9
A class that handles the components.
Definition: Component.h:13
float * getOrthoProjection()
Returns the Camera orthogonal projection matrix.
Definition: CameraComponent.cpp:36
virtual void onDestroy()
A virtual function for the componets destroy.
Definition: CameraComponent.cpp:21
Mat4 projection
Construct a projection matrix for the Camera (Camera lense)
Definition: CameraComponent.h:47
float getZDepth()
Returns the Z depth for the Camera.
Definition: CameraComponent.cpp:31
Creates a Camera component.
Definition: CameraComponent.h:9
virtual void onAwake()
A virtual function for the componets awake.
Definition: CameraComponent.cpp:13
Contains the Mat4 structure with functions and overloaded operators. This is row major.
Definition: Mat4.h:9
Mat4 getProjection()
Returns the Camera projection matrix.
Definition: CameraComponent.cpp:25
float zDepth
The Z depth for the camera.
Definition: CameraComponent.h:50