nn::math::MTX34TextureProjectionOrtho Function

Syntax

NN_MATH_INLINE MTX34 * MTX34TextureProjectionOrtho(
     MTX34 * pOut,
     f32 l,
     f32 r,
     f32 b,
     f32 t,
     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 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 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 an orthogonal texture projection matrix.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL