orthographic

Function orthographic 

Source
pub fn orthographic(
    left: f32,
    right: f32,
    bottom: f32,
    top: f32,
    near: f32,
    far: f32,
) -> [[f32; 4]; 4]
Expand description

Orthographic projection matrix.

This matrix is meant to be used when the source coordinate space is right-handed and y-up (the standard computer graphics coordinate space)and the destination space is left-handed and y-up, with Z (depth) clip extending from 0.0 (close) to 1.0 (far).