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

Syntax

self_type & SetupTextureProjectionFrustum(
     f32 fovyRad,
     f32 aspect,
     f32 scaleS,
     f32 scaleT,
     f32 translateS,
     f32 translateT
);

Arguments

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

Description

Creates a texture projection matrix.


CONFIDENTIAL