MTX34ShadowProjectionFrustum

nn::math::MTX34ShadowProjectionFrustum Function

Syntax

NN_MATH_INLINE MTX34 * MTX34ShadowProjectionFrustum(
     MTX34 * pOut,
     f32 l,
     f32 r,
     f32 b,
     f32 t,
     f32 n,
     f32 f
);

Parameters

Name Description
out pOut Pointer to the buffer that receives the result of the calculation.
in l Left edge of the near clipping plane.
in r Right edge of the near clipping plane.
in b Bottom edge of the near clipping plane.
in t Top edge of the near clipping plane.
in n Distance from the camera to the near clipping plane.
in f Distance from the camera to the far clippling plane.

Return Values

Returns pOut.

Description

Creates a projection matrix for referencing shadow textures based on the viewing frustum.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL