nn::math::MTX44 Structurestruct MTX44 : public nn::math::MTX44_
A 4x4 matrix class.
typedef Definitions
self_type
|
This class's type. | |
|---|---|---|
value_type
|
The type of this class's elements. |
| S |
ROW_COUNT
|
const int | The number of rows. |
|---|---|---|---|
| S |
COLUMN_COUNT
|
const int | The number of columns. |
| Creation | ||
|---|---|---|
MTX44
|
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 VEC4-type value. |
|
SetColumn
|
Sets a column as a VEC4-type value. |
|
| Operators | ||
operator*=
|
Assigns the values of a postmultiplied matrix. | |
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. | |
SetupFrustum
|
Sets up a projection matrix based on the viewing frustum at the near clipping plane. Note: The order of the arguments follows the OpenGL standard. |
|
SetupOrtho
|
Sets up an orthographic projection matrix. Note: The order of the arguments follows the OpenGL standard. |
|
SetupPerspective
|
Sets up a projection matrix based on field-of-view angle and aspect ratio. | |
| 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. | |
nn::math::MTX44_
nn::math::MTX44
CONFIDENTIAL