struct
#include <engine/render/camera/camera.hpp>
Camera Generic component to hold the projection matrix of a specific camera (either perspective or orthogonal).
Public variables
- bool active
- Whether the camera is drawing to a target.
- glm::mat4 projection
- Projection matrix of the camera.
- float zNear
- Near clipping plane.
- float zFar
- Far clipping plane.
-
core::
geom:: Frustum frustum - Frustum of the projection.
- bool freezeFrustum
- If the frustum should stop being updated.