[−][src]Function nalgebra_glm::ortho_rh_zo
pub fn ortho_rh_zo<N: RealField>(
left: N,
right: N,
bottom: N,
top: N,
znear: N,
zfar: N
) -> TMat4<N>
Creates a right hand matrix for a orthographic-view frustum with a depth range of 0 to 1
Parameters
left
- Coordinate for left bound of matrixright
- Coordinate for right bound of matrixbottom
- Coordinate for bottom bound of matrixtop
- Coordinate for top bound of matrixznear
- Distance from the viewer to the near clipping planezfar
- Distance from the viewer to the far clipping plane