#include <Mathlib.h>
Public Member Functions | |
Matrix4x4 () | |
void | identity () |
void | transpose () |
void | invert () |
void | setTranslation (const Vector3< Real > &v) |
void | transform (Vector3< Real > &v) const |
void | rotate (Vector3< Real > &v) const |
void | inverseRotate (Vector3< Real > &v) const |
void | inverseTranslate (Vector3< Real > &v) const |
void | fromQuaternion (const Quaternion< Real > &q) |
void | fromEulerAngles (Real x, Real y, Real z) |
void | toEulerAngles (Real &x, Real &y, Real &z) const |
Vector3< Real > | rightVector () const |
Vector3< Real > | upVector () const |
Vector3< Real > | forwardVector () const |
Vector3< Real > | translationVector () const |
operator const Real * () | |
Public Attributes | |
union { | |
struct { | |
Real _m11 | |
Real _m12 | |
Real _m13 | |
Real _h14 | |
Real _m21 | |
Real _m22 | |
Real _m23 | |
Real _h24 | |
Real _m31 | |
Real _m32 | |
Real _m33 | |
Real _h34 | |
Real _tx | |
Real _ty | |
Real _tz | |
Real _tw | |
} | |
Real _m [16] | |
}; |
Definition at line 178 of file Mathlib.h.
void Matrix4x4< Real >::identity | ( | ) |
void Matrix4x4< Real >::transpose | ( | ) |
void Matrix4x4< Real >::invert | ( | ) |
void Matrix4x4< Real >::fromQuaternion | ( | const Quaternion< Real > & | q | ) |
void Matrix4x4< Real >::fromEulerAngles | ( | Real | x, | |
Real | y, | |||
Real | z | |||
) |
void Matrix4x4< Real >::toEulerAngles | ( | Real & | x, | |
Real & | y, | |||
Real & | z | |||
) | const |
Matrix4x4< Real >::operator const Real * | ( | ) | [inline] |
union { ... } |