MTX34ShadowProjectionPerspective

nn::math::MTX34ShadowProjectionPerspective Function

Syntax

NN_MATH_INLINE MTX34 * MTX34ShadowProjectionPerspective(
     MTX34 * pOut,
     f32 fovy,
     f32 aspect,
     f32 n,
     f32 f
);

Parameters

Name Description
out pOut Pointer to the buffer that receives the result of the calculation.
in fovy Vertical view angle. In units of radians.
in aspect Aspect ratio of the clipping plane.
in n Distance from the camera to the near clipping plane.
in f Distance from the camera to the far clip plane.

Return Values

Returns pOut.

Description

Creates an projection matrix for referencing shadow textures.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL