cubos::engine::OrthographicCamera struct

Component which defines parameters of a orthographic camera used to render the world.

Public types

enum class Axis { Horizontal, Vertical }
The axis that can be fixed for this projection.

Public variables

float size
The size of the fixed axis of the projection.
Axis axis
The axis to be fixed for the projection.
float zNear
Near clipping plane.
float zFar
Far clipping plane.