[][src]Function ultraviolet::projection::lh_ydown::orthographic_dx

pub fn orthographic_dx(
    left: f32,
    right: f32,
    bottom: f32,
    top: f32,
    near: f32,
    far: f32
) -> Mat4

Orthographic projection matrix for use with OpenGL.

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