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