nn::math::MTX34 Structure

Syntax

struct MTX34 : public nn::math::MTX34_

Description

A 3x4 matrix class.

typedef Definitions

self_type This class's type.
value_type The type of this class's elements.

Member Constants

S ROW_COUNT The number of rows.
S COLUMN_COUNT The number of columns.

Member Functions

Creation
MTX34 Constructor.
Conversions
operator f32 * Casts to an f32-type value.
operator const f32 * Casts to an f32-type value.
GetRow Gets a row as a VEC4-type value.
GetColumn Gets a column as a VEC3-type value.
SetColumn Sets a column as a VEC3-type value.
Operators
operator*= Assigns the values of a postmultiplied matrix.
Transpose Calculates the transpose.
Settings
SetupIdentity Sets as the identity matrix.
SetupScale Sets as a scaling matrix.
SetupTranslate Sets as a translation matrix.
SetupRotateXyz Sets as a rotation matrix in XYZ order.
SetupRotate Sets as a rotation matrix around the specified axis.
SetupLookAt Sets the camera matrix.
SetupCameraRotate Sets the camera matrix.
SetupTextureProjectionFrustum Creates a texture projection matrix based on the viewing frustum.
Comparisons
operator== Returns true if the values are equal.
operator!= Returns true if the values are not equal.
IsIdentity Returns true if this is an identity matrix.
Other
S Identity The identity matrix.
Report Outputs the state.

Inheritance Hierarchy

nn::math::MTX34_
  nn::math::MTX34

Revision History

2010/01/29
Initial version.

CONFIDENTIAL