Function citro3d_sys::Mtx_Persp
source · pub unsafe extern "C" fn Mtx_Persp(
mtx: *mut C3D_Mtx,
fovy: f32,
aspect: f32,
near: f32,
far: f32,
isLeftHanded: bool
)
Expand description
Perspective projection
§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)isLeftHanded
(direction in) - Whether to build a LH projectionMtx_PerspTilt
Mtx_PerspStereo
Mtx_PerspStereoTilt