[][src]Function truck_base::cgmath64::ortho

pub fn ortho<S>(
    left: S,
    right: S,
    bottom: S,
    top: S,
    near: S,
    far: S
) -> Matrix4<S> where
    S: BaseFloat

Create an orthographic projection matrix.

This is the equivalent of the now deprecated glOrtho function.