Module projection

Source
Expand description

Projection matrices that are intended to be used when the base coordinate system (i.e. the one used by the application code) is right-handed with the the x-axis pointing right, y-axis pointing up, and z-axis pointing out of the screen.

Functionsยง

orthographic
Orthographic projection matrix.
perspective
Perspective projection matrix.
perspective_infinite_z
Perspective projection matrix with infinite z-far plane.
perspective_reversed_infinite_z
Perspective projection matrix with reversed and infinite z-axis.
perspective_reversed_z
Perspective projection matrix with reversed z-axis.