pub fn ortho4<T>(
left: T,
right: T,
bottom: T,
top: T,
near: T,
far: T,
) -> Matrix4<T>where
T: Scalar,
Expand description
Creates an orthographic projection matrix.
ยงParameters
left
,right
: X-axis boundsbottom
,top
: Y-axis boundsnear
,far
: Z-axis bounds (depth)
Objects maintain their size regardless of depth in orthographic projection.