nn::math::MTX34::SetupTextureProjectionFrustum Member Function

Syntax

self_type & SetupTextureProjectionFrustum(
     f32 l,
     f32 r,
     f32 b,
     f32 t,
     f32 n,
     f32 scaleS,
     f32 scaleT,
     f32 translateS,
     f32 translateT
);

Arguments

Name Description
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 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

Description

Creates a texture projection matrix based on the viewing frustum.


CONFIDENTIAL