Back to class index
| Frustum::SetHorizontalFovAndAspectRatioSyntaxvoid Frustum::SetHorizontalFovAndAspectRatio(float horizontalFov, float aspectRatio); [7 lines of code]Makes this Frustum use a perspective projection formula with the given horizontal FOV parameter and aspect ratio. Specifies the horizontal and vertical field-of-view values for this Frustum based on the given horizontal FOV and the screen size aspect ratio. Note Calling this function recomputes the cached projection matrix of this Frustum. See Also |