cubos::engine::Camera struct

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.