Function citro3d_sys::Mtx_Ortho

source ·
pub unsafe extern "C" fn Mtx_Ortho(
    mtx: *mut C3D_Mtx,
    left: f32,
    right: f32,
    bottom: f32,
    top: f32,
    near: f32,
    far: f32,
    isLeftHanded: bool
)
Expand description

Orthogonal projection

§Arguments

  • mtx (direction out) - Output matrix
  • left (direction in) - Left clip plane (X=left)
  • right (direction in) - Right clip plane (X=right)
  • bottom (direction in) - Bottom clip plane (Y=bottom)
  • top (direction in) - Top clip plane (Y=top)
  • near (direction in) - Near clip plane (Z=near)
  • far (direction in) - Far clip plane (Z=far)
  • isLeftHanded (direction in) - Whether to build a LH projection Mtx_OrthoTilt