|
T * | operator[] (const uint index) |
|
const T * | operator[] (const uint index) const |
|
| Matrix () |
|
| Matrix (T array[]) |
|
template<typename... ARGS> |
| Matrix (ARGS...argList) |
|
template<typename U > |
| Matrix (const Matrix< U, ROWS, COLS > &other) |
|
| Matrix (const Matrix< T, ROWS+1, COLS+1 > &other) |
|
| Matrix (const Matrix< T, ROWS - 1, COLS - 1 > &other) |
|
| Matrix (const Matrix< T, ROWS, COLS > &other) |
|
void | operator= (const Matrix< T, ROWS, COLS > &other) |
|
void | operator= (const Matrix< T, ROWS+1, COLS+1 > &other) |
|
void | operator= (const Matrix< T, ROWS - 1, COLS - 1 > &other) |
|
const bool | operator== (const Matrix< T, ROWS, COLS > &other) const |
|
const bool | operator!= (const Matrix< T, ROWS, COLS > &other) const |
|
uint | rows () const |
|
uint | cols () const |
|
bool | isSquare () const |
|
void | clear () |
|
void | print () const |
|
void | loadIdentity () |
|
const Vector< T, ROWS > | getDiagonal () const |
|
const Vector< T, ROWS > | getRow (uint row) const |
|
void | setRow (uint row, const Vector< T, ROWS > &v) |
|
const Vector< T, COLS > | getCol (uint col) const |
|
void | setCol (uint col, const Vector< T, COLS > &v) |
|
template<uint LENGTH> |
const Vector< T, LENGTH > | getScale () const |
|
template<uint LENGTH> |
void | normalize () |
|
template<uint LENGTH> |
const Matrix< T, LENGTH, LENGTH > | normal () const |
|
template<uint LENGTH> |
void | scale (T scale) |
|
template<uint LENGTH> |
void | scale (const Vector< T, LENGTH > &vec) |
|
template<uint LENGTH> |
void | scaleTo (const Vector< T, LENGTH > &vec) |
|
const Matrix< T, ROWS, COLS > | rotation (T angle, const Vector< T, 3 > &vec) const |
|
void | rotate (T angle, const Vector< T, 3 > &vec) |
|
const Matrix< T, ROWS, COLS > | translation (const Vector< T, 3 > &vec) const |
|
void | translate (const Vector< T, 3 > &vec) |
|
Matrix< T, ROWS, COLS > & | transpose () |
|
Matrix< T, ROWS, COLS > & | invert () |
|
void | transform (const Matrix< T, ROWS, COLS > &src) |
|
void | set (const Matrix< T, ROWS, COLS > &src) |
|
|
static const Matrix< T, ROWS, COLS > | createIdentityMatrix () |
|
static const Quaternion< T > | matrixTo (const Matrix< T, 3, 3 > &mat) |
|
static const Matrix< T, 3, 3 > | toMatrix (const Quaternion< T > &q) |
|
static const Matrix< T, 4, 4 > | createTranslationMatrix (const Vector< T, 3 > &vec) |
|
static const Matrix< T, 3, 3 > | createRotationMatrix (T angle, const Vector< T, 3 > &vec) |
|