SF_EXPORT void PerspectiveRH(T fovYRad, T fAR, T fNearZ, T fFarZ);
PerspectiveRH creates a right-handed perspective projection matrix for view to screen transformation.
Parameters |
Description |
T fovYRad |
The vertical field of view in radians. |
T fAR |
The aspect ratio. |
T fNearZ |
The near clip plane distance. |
T fFarZ |
The far clip plane distance. |