Function nalgebra_glm::ortho[][src]

pub fn ortho<N: Real>(
    left: N,
    right: N,
    bottom: N,
    top: N,
    znear: N,
    zfar: N
) -> TMat4<N>

Creates a matrix for an orthographic parallel viewing volume, using the right handedness and OpenGL near and far clip planes definition.