Function citro3d_sys::Mtx_PerspTilt

source ·
pub unsafe extern "C" fn Mtx_PerspTilt(
    mtx: *mut C3D_Mtx,
    fovy: f32,
    aspect: f32,
    near: f32,
    far: f32,
    isLeftHanded: bool
)
Expand description

Perspective projection, tilted to account for the 3DS screen rotation

§Arguments

  • mtx (direction out) - Output matrix
  • fovy (direction in) - Vertical field of view in radians
  • aspect (direction in) - Aspect ration of projection plane (width/height)
  • 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_Persp Mtx_PerspStereo Mtx_PerspStereoTilt