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

4X4 matrix; loops are unrolled for performance. More...

#include <Matrix.h>

Inheritance diagram for Matrix4< T, FLOATTYPE >:
IMemoryValidate

List of all members.

Public Member Functions

 Matrix4 (const Matrix4 &m)
 Matrix4 (Vector4< T, FLOATTYPE > *right, Vector4< T, FLOATTYPE > *up, Vector4< 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 (Matrix4< T, FLOATTYPE > *n)
 transforms this matrix by matrix n from left (this=n x this)
void PreTransform (Matrix4< T, FLOATTYPE > *n)
 Transforms this matrix by matrix n from right (this=this x n).
void MultEqual (Matrix4< T, FLOATTYPE > *m2)
Matrix4< T, FLOATTYPE > Inverse ()
 Returns the inverse of this matrix.
void SetIdentity ()
 Resets the matrix.
Matrix4operator= (const Matrix4 &m)
virtual void ValidateMem () const
virtual void CheckMem () const

Static Public Member Functions

static Matrix4< T, FLOATTYPE > ShiftMatrix (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz)
 Matrix for shifting.
static Matrix4< T, FLOATTYPE > ScaleMatrix (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz)
 Matrix for scaling.
static Matrix4< T, FLOATTYPE > ScaleMatrix (FLOATTYPE d)
 matrix for scaling
static Matrix4< T, FLOATTYPE > RotateMatrix (FLOATTYPE dx, FLOATTYPE dy, FLOATTYPE dz)
 matrix for rotation
static Matrix4< T, FLOATTYPE > Multiply (Matrix4< T, FLOATTYPE > *m1, Matrix4< T, FLOATTYPE > *m2)
 Returns m1 x m2.

Protected Attributes

m00
m01
m02
m03
m10
m11
m12
m13
m20
m21
m22
m23
m30
m31
m32
m33

Friends

template Vector4< typename T, typename FLOATTYPE >

Detailed Description

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

4X4 matrix; loops are unrolled for performance.

Definition at line 300 of file Matrix.h.


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