Skip to main content

orthographic

Function orthographic 

Source
pub fn orthographic(half_h: f32, aspect: f32, near: f32, far: f32) -> M4
Expand description

An orthographic projection showing half_h units above and below the centre of the screen.