Function truck_geometry::base::ortho
source ยท pub fn ortho<S>(
left: S,
right: S,
bottom: S,
top: S,
near: S,
far: S,
) -> Matrix4<S>where
S: BaseFloat,
Expand description
Create an orthographic projection matrix.
This is the equivalent of the now deprecated glOrtho
function.