Matrix3< T, FLOATTYPE > Class Template Reference
[Math]

3X3 matrix; loops are unrolled for performance. More...

#include <Matrix.h>

Inheritance diagram for Matrix3< T, FLOATTYPE >:
IMemoryValidate

List of all members.

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.
Matrix3operator= (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

m00
m01
m02
m10
m11
m12
m20
m21
m22

Friends

template Vector3< typename T, typename FLOATTYPE >

Detailed Description

template<typename T, typename FLOATTYPE>
class Matrix3< T, FLOATTYPE >

3X3 matrix; loops are unrolled for performance.

Definition at line 32 of file Matrix.h.


The documentation for this class was generated from the following file: