nn::math::MTX44::SetupPerspective Member Functionself_type & SetupPerspective( f32 fovyRad, f32 aspect, f32 n, f32 f, PivotDirection pivot = PIVOT_NONE );
| Name | Description | |
|---|---|---|
| in | fovyRad | Vertical field-of-view angle (in radians). |
| in | aspect | Aspect ratio (width/height) of the field of view. |
| in | n | Distance to the near clipping plane. |
| in | f | Distance to the far clipping plane. |
| in | pivot | Direction of the screen rotation. |
Sets up a projection matrix based on field-of-view angle and aspect ratio.
CONFIDENTIAL