Skip to main content

Module camera

Module camera 

Source
Expand description

Pure math for a right-handed first-person camera. All functions are stateless – callers own position, yaw, and pitch directly (e.g. on Camera3D) and pass them in as needed.

Functions§

view_matrix
Build a column-major view matrix from position, yaw, and pitch.