Function citro3d_sys::Mtx_PerspStereoTilt
source · pub unsafe extern "C" fn Mtx_PerspStereoTilt(
mtx: *mut C3D_Mtx,
fovy: f32,
aspect: f32,
near: f32,
far: f32,
iod: f32,
screen: f32,
isLeftHanded: bool
)
Expand description
Stereo perspective projection, tilted to account for the 3DS screen rotation
Note: See the notes for Mtx_PerspStereo
§Arguments
mtx
(direction out) - Output matrixfovy
(direction in) - Vertical field of view in radiansaspect
(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)iod
(direction in) - Interocular distancescreen
(direction in) - Focal lengthisLeftHanded
(direction in) - Whether to build a LH projectionMtx_Persp
Mtx_PerspTilt
Mtx_PerspStereo