[−][src]Function ultraviolet::projection::lh_ydown::orthographic_gl
pub fn orthographic_gl(
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 left-handed and y-up, with Z (depth) clip extending from -1.0 (close) to 1.0 (far).