[−][src]Function ultraviolet::projection::rh_yup::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 DirectX.
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).