Function default_ortho2d

Source
pub fn default_ortho2d(width: f32, height: f32) -> (Mat4, Mat4)
Expand description

Creates a typical 2d orthographic projection with +Y extending downward and the +Z axis coming out towards the viewer.