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