nn::math::MTX34TextureProjectionPerspective Function

Syntax

NN_MATH_INLINE MTX34 * MTX34TextureProjectionPerspective(
     MTX34 * pOut,
     f32 fovy,
     f32 aspect,
     f32 scaleS,
     f32 scaleT,
     f32 translateS,
     f32 translateT
);

Arguments

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 scaleS Scale value along the s-axis.
in scaleT Scale value along the t-axis.
in translateS Translation value along the s-axis.
in translateT Translation value along the t-axis.

Return Values

Returns pOut.

Description

Creates a texture projection matrix.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL