nn::math::MTX34 Class

Syntax

class 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 const int The number of rows.
S COLUMN_COUNT const int 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 after matrix addition.
operator-= Assigns the values after matrix subtraction.
operator*= Assigns the values of a post-multiplied matrix.
operator/= Assigns the values after matrix division.
operator+ Returns its own matrix.
operator- Returns the conjugate of the matrix.
operator * Returns the result of matrix multiplication.
operator/ Returns the result of matrix division.
Transpose Calculates the transpose.
Settings
SetupIdentity Sets as the identity matrix.
SetupScale Sets up a scaling matrix.
SetupTranslate Sets up a translation matrix.
SetupRotateXyz Sets up a rotation matrix in XYZ order.
SetupRotate Sets up 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.

Class Hierarchy

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

Revision History

2010/01/29
Initial version.

CONFIDENTIAL