Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 585 Bytes

File metadata and controls

27 lines (18 loc) · 585 Bytes

Component that lets Entities be used as in-game cameras.

Specs

Members

frustum

putils::Rect3f frustum;

Specifies the frustum for the camera, i.e. its world coordinates and "size" (FOV for 3D, actual size for 2D).

pitch, yaw, roll

float pitch; // Radians
float yaw; // Radians
float roll; // Radians