SetupFrustum

nn::math::MTX44::SetupFrustum Member Function

Syntax

self_type & SetupFrustum(
     f32 l,
     f32 r,
     f32 b,
     f32 t,
     f32 n,
     f32 f,
     PivotDirection pivot = PIVOT_NONE
);

Parameters

Name Description
in l X-coordinate of the left edge of the viewing frustum at the near clipping plane.
in r X-coordinate of the right edge of the viewing frustum at the near clipping plane.
in b Y-coordinate of the bottom edge of the viewing frustum at the near clipping plane.
in t Y-coordinate of the top edge of the viewing frustum at the near clipping plane.
in n Distance to the near clipping plane.
in f Distance to the far clipping plane.
in pivot Direction of the screen rotation.

Return Values

Description

Sets up a projection matrix based on the viewing frustum at the near clipping plane.
Note: The order of the arguments follows the OpenGL standard.

Revision History

2010/01/29
Initial version.

CONFIDENTIAL