[−][src]Function cgmath::ortho
pub fn ortho<S: BaseFloat>(
left: S,
right: S,
bottom: S,
top: S,
near: S,
far: S
) -> Matrix4<S>
Create an orthographic projection matrix.
This is the equivalent of the now deprecated glOrtho
function.
pub fn ortho<S: BaseFloat>(
left: S,
right: S,
bottom: S,
top: S,
near: S,
far: S
) -> Matrix4<S>
Create an orthographic projection matrix.
This is the equivalent of the now deprecated glOrtho
function.