3X3 matrix; loops are unrolled for performance. More...
#include <Matrix.h>
Public Member Functions | |
Matrix3 (const Matrix3 &m) | |
Matrix3 (Vector3< T, FLOATTYPE > *right, Vector3< T, FLOATTYPE > *up, Vector3< T, FLOATTYPE > *forward) | |
void | Shift (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz) |
void | Scale (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz) |
void | Scale (FLOATTYPE d) |
void | Rotate (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz) |
void | ScaleSelf (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz) |
void | ScaleSelf (FLOATTYPE d) |
void | RotateSelf (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz) |
void | Transform (Matrix3< T, FLOATTYPE > *n) |
transforms this matrix by matrix n from left (this=n x this) | |
void | PreTransform (Matrix3< T, FLOATTYPE > *n) |
Transforms this matrix by matrix n from right (this=this x n). | |
void | MultEqual (Matrix3< T, FLOATTYPE > *m2) |
Matrix3< T, FLOATTYPE > | Inverse () |
Returns the inverse of this matrix. | |
void | SetIdentity () |
Resets the matrix. | |
Matrix3 & | operator= (const Matrix3 &m) |
virtual void | ValidateMem () const |
virtual void | CheckMem () const |
Static Public Member Functions | |
static Matrix3< T, FLOATTYPE > | ScaleMatrix (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz) |
Matrix for scaling. | |
static Matrix3< T, FLOATTYPE > | ScaleMatrix (FLOATTYPE d) |
matrix for scaling | |
static Matrix3< T, FLOATTYPE > | RotateMatrix (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz) |
matrix for rotation | |
static Matrix3< T, FLOATTYPE > | Multiply (Matrix3< T, FLOATTYPE > *m1, Matrix3< T, FLOATTYPE > *m2) |
Returns m1 x m2. | |
Protected Attributes | |
T | m00 |
T | m01 |
T | m02 |
T | m10 |
T | m11 |
T | m12 |
T | m20 |
T | m21 |
T | m22 |
Friends | |
template | Vector3< typename T, typename FLOATTYPE > |
3X3 matrix; loops are unrolled for performance.
Definition at line 32 of file Matrix.h.