#include <FMMatrix33.h>
Public Member Functions | |
FMMatrix33 (float *_m) | |
Creates a FMMatrix33 from the float array. | |
FMMatrix33 () | |
Creates an empty FMMatrix33. | |
operator float * () | |
Get this FMMatrix33 as an array of floats . | |
operator const float * () const | |
Get this FMMatrix as an array of floats . | |
float * | operator[] (int a) |
Get a specified row of FMMatrix33 as an array of floats . | |
FMMatrix33 & | operator= (const FMMatrix33 ©) |
Assign this FMMatrix33's elements to be the same as that of the given FMMatrix33. | |
FMMatrix33 | Transposed () const |
Gets the transposed of this FMMatrix33. | |
FMMatrix33 | Inverted () const |
Gets the inversion of this FMMatrix33. | |
Static Public Member Functions | |
static FMMatrix33 | RotationMatrix (float angle) |
Gets the FMMatrix33 representation of a 2D counter-clockwise rotation about the z-axis. | |
static FMMatrix33 | TranslationMatrix (float tx, float ty) |
Gets the FMMatrix33 representation of a 2D translation. | |
static FMMatrix33 | ScaleMatrix (float sx, float sy) |
Gets the FMMatrix33 representation of a 2D scale. | |
static FMMatrix33 | TranslationMatrix (FMVector2 translation) |
Gets the FMMatrix33 representation of a 2D translation. | |
static FMMatrix33 | ScaleMatrix (FMVector2 scale) |
Gets the FMMatrix33 representation of a 2D scale. | |
Public Attributes | |
float | m [3][3] |
The matrix elements stored in a 2D array. | |
Static Public Attributes | |
static FMMatrix33 | identity |
The identity FMMatrix33. |
Not used within FCollada.
|
Creates a FMMatrix33 from the The float array stores the elements in the following order: m[0][0], m[1][0], m[2][0], m[0][1], m[1][1], m[2][1], m[0][2], m[1][2], m[2][2].
|
|
Creates an empty FMMatrix33. The default values are non deterministic. |
|
Gets the inversion of this FMMatrix33.
|
|
Get this FMMatrix as an array of The array contains the elements in the following order: m[0][0], m[0][1], m[0][2], m[1][0], m[1][1], m[1][2], m[2][0], m[2][1], m[2][2].
|
|
Get this FMMatrix33 as an array of The array contains the elements in the following order: m[0][0], m[0][1], m[0][2], m[1][0], m[1][1], m[1][2], m[2][0], m[2][1], m[2][2].
|
|
Assign this FMMatrix33's elements to be the same as that of the given FMMatrix33.
|
|
Get a specified row of FMMatrix33 as an array of
|
|
Gets the FMMatrix33 representation of a 2D counter-clockwise rotation about the z-axis.
|
|
Gets the FMMatrix33 representation of a 2D scale. The scale in the x direction is the u componenet of the given FMVector and the scale in the y direction is the v component.
|
|
Gets the FMMatrix33 representation of a 2D scale.
|
|
Gets the FMMatrix33 representation of a 2D translation. The translation in the x direction is the u componenet of the given FMVector2 and the translation in the y direction is the v component.
|
|
Gets the FMMatrix33 representation of a 2D translation.
|
|
Gets the transposed of this FMMatrix33.
|