Module wgpu_playground::projection[][src]

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 projection matrix.

Perspective projection matrix.

Perspective projection matrix with infinite z-far plane.

Perspective projection matrix with reversed and infinite z-axis.

Perspective projection matrix with reversed z-axis.