SF_EXPORT void PerspectiveOffCenterRH(T focalLength, T viewMinX, T viewMaxX, T viewMinY, T viewMaxY, T fNearZ, T fFarZ);
PerspectiveOffCenterRH creates a customized right handed perspective projection matrix based on view volume.
Parameters |
Description |
T focalLength |
The focal length. |
T viewMinX |
The minimum x value of the view volume. |
T viewMaxX |
The maximum x value of the view volume. |
T viewMinY |
The minimum y value of the view volume. |
T viewMaxY |
The maximum y value of the view volume. |
T fNearZ |
The near clip plane distance. |
T fFarZ |
The far clip plane distance. |