#include <FMMatrix44.h>
Public Member Functions | |
FMMatrix44 (const float *_m) | |
Creates a FMMatrix44 from the float array. | |
FMMatrix44 () | |
Creates an empty FMMatrix44. | |
operator float * () | |
Get this FMMatrix44 as an array of floats . | |
operator const float * () const | |
Get this FMMatrix44 as an array of floats . | |
float * | operator[] (int a) |
Get a specified row of FMMatrix44 as an array of floats . | |
const float * | operator[] (int a) const |
Get a specified row of FMMatrix44 as an array of floats . | |
FMMatrix44 & | operator= (const FMMatrix44 ©) |
Assign this FMMatrix44's elements to be the same as that of the given FMMatrix44. | |
FMMatrix44 | Transposed () const |
Gets the transposed of this FMMatrix44. | |
FMMatrix44 | Inverted () const |
Gets the inversion of this FMMatrix33. | |
void | Decompose (FMVector3 &Scale, FMVector3 &Rotation, FMVector3 &Translation, float &inverted) const |
Decompose this FMMatrix44 into it's scale, rotation, and translation components; it also tells whether it is inverted. | |
FMVector3 | TransformCoordinate (const FMVector3 &coordinate) const |
Transforms the given point by this FMMatrix44. | |
FMVector3 | TransformVector (const FMVector3 &v) const |
Transforms the given vector by this FMMatrix44. | |
FMVector3 | GetTranslation () const |
Gets the translation component of this FMMatrix44. | |
Static Public Member Functions | |
static FMMatrix44 | TranslationMatrix (const FMVector3 &translation) |
Gets the FMMatrix44 representation of a 3D translation. | |
static FMMatrix44 | AxisRotationMatrix (const FMVector3 &axis, float angle) |
Gets the FMMatrix44 representation of a 3D rotation about a given axis by an angle. | |
Public Attributes | |
float | m [4][4] |
The matrix elements stored in a 2D array. | |
Static Public Attributes | |
static FMMatrix44 | Identity |
The identity FMMatrix44. |
|
Creates a FMMatrix44 from the The float array stores the elements in the following order: m[0][0], m[1][0], m[2][0], m[3][0], m[0][1], m[1][1], m[2][1], m[3][1], m[0][2], m[1][2], m[2][2], m[3][2], m[0][3], m[1][3], m[2][3], m[3][3].
|
|
Creates an empty FMMatrix44. The default values are non deterministic. |
|
Gets the FMMatrix44 representation of a 3D rotation about a given axis by an angle.
|
|
Decompose this FMMatrix44 into it's scale, rotation, and translation components; it also tells whether it is inverted.
|
|
Gets the translation component of this FMMatrix44.
|
|
Gets the inversion of this FMMatrix33.
|
|
Get this FMMatrix44 as an array of The array contains the elements in the following order: m[0][0], m[0][1], m[0][2], m[0][3], m[1][0], m[1][1], m[1][2], m[1][3], m[2][0], m[2][1], m[2][2], m[0][3], m[3][0], m[3][1], m[3][2], m[3][3].
|
|
Get this FMMatrix44 as an array of The array contains the elements in the following order: m[0][0], m[0][1], m[0][2], m[0][3], m[1][0], m[1][1], m[1][2], m[1][3], m[2][0], m[2][1], m[2][2], m[0][3], m[3][0], m[3][1], m[3][2], m[3][3].
|
|
Assign this FMMatrix44's elements to be the same as that of the given FMMatrix44.
|
|
Get a specified row of FMMatrix44 as an array of
|
|
Get a specified row of FMMatrix44 as an array of
|
|
Transforms the given point by this FMMatrix44.
|
|
Transforms the given vector by this FMMatrix44.
|
|
Gets the FMMatrix44 representation of a 3D translation. The translation in the x, y and z directions correspond to the x, y, and z components of the FMVector3.
|
|
Gets the transposed of this FMMatrix44.
|