#include <mat44.h>
Public Methods | |
Constructors | |
| Mat44 (const V3 &v0=V3::Axes[0], const V3 &v1=V3::Axes[1], const V3 &v2=V3::Axes[2], const V3 &v3=V3::O) | |
| . | |
| Mat44 (const V4 &v0, const V4 &v1, const V4 &v2, const V4 &v3) | |
| . | |
| Mat44 (const Mat44 &) | |
| . | |
| Mat44 (const Mat33 &) | |
| . | |
Initializers | |
| void | Set (const V3 &, const V3 &, const V3 &, const V3 &) |
| . | |
| void | Set (const V4 &, const V4 &, const V4 &, const V4 &) |
| . | |
| void | Set (const Mat44 &m) |
| . | |
| void | Set (const Mat33 &m) |
| . | |
| void | SetIdentity () |
| . | |
| void | SetTranslate (const V3 &) |
| . | |
| void | StoreTranslate (const V3 &) |
| . | |
| void | SetRotateRadians (float rads, const V3 &) |
| . | |
| void | SetRotateXRadians (float rads) |
| . | |
| void | SetRotateYRadians (float rads) |
| . | |
| void | SetRotateZRadians (float rads) |
| . | |
| void | SetRotateDegrees (float degs, const V3 &) |
| . | |
| void | SetRotateXDegrees (float degs) |
| . | |
| void | SetRotateYDegrees (float degs) |
| . | |
| void | SetRotateZDegrees (float degs) |
| . | |
| void | SetRotateVToV (const V3 &start, const V3 &end) |
| . | |
| void | SetRotateQuaternion (const Quaternion &quat) |
| . | |
| void | SetScale (const V3 &scale) |
| . | |
Augmentors | |
| Mat44 & | Translate (const V3 &) |
| . | |
| Mat44 & | RotateRadians (float rads, const V3 &) |
| . | |
| Mat44 & | RotateXRadians (float rads) |
| . | |
| Mat44 & | RotateYRadians (float rads) |
| . | |
| Mat44 & | RotateZRadians (float rads) |
| . | |
| Mat44 & | RotateDegrees (float degs, const V3 &) |
| . | |
| Mat44 & | RotateXDegrees (float degs) |
| . | |
| Mat44 & | RotateYDegrees (float degs) |
| . | |
| Mat44 & | RotateZDegrees (float degs) |
| . | |
| Mat44 & | RotateVToV (const V3 &start, const V3 &end) |
| . | |
| Mat44 & | RotateQuaternion (const Quaternion &quat) |
| . | |
| Mat44 & | Scale (const V3 &scale) |
| . | |
Accessors | |
| V3 | GetRow (int i) const |
| . | |
| V3 | GetCol (int i) const |
| . | |
| float | GetElt (int i, int j) const |
| . | |
| V4 | GetRow4 (int i) |
| . | |
| const V4 & | GetRow4 (int i) const |
| . | |
| V4 | GetCol4 (int i) const |
| . | |
| void | SetRow (int i, const V3 &v) |
| . | |
| void | SetRow (int i, float f0, float f1, float f2) |
| . | |
| void | SetCol (int i, const V3 &v) |
| . | |
| void | SetCol (int i, float f0, float f1, float f2) |
| . | |
| void | SetElt (int i, int j, float elt) |
| . | |
| void | SetRow4 (int i, const V4 &v) |
| . | |
| void | SetCol4 (int i, const V4 &v) |
| . | |
| void | SetCol4 (int i, float f0, float f1, float f2, float f3) |
| . | |
Others | |
| Mat44 | GetTranspose () const |
| . | |
| Mat44 & | Transpose () |
| . | |
| Mat33 | GetMat33 () const |
| Convert to Mat33. | |
| Mat33 | Multiply33 (const Mat44 &m) const |
| Multiply without translate. | |
| V3 | Multiply33 (const V3 &v) const |
| Multiply without translate. | |
| Mat44 | GetInverseRotateTranslate () const |
| . | |
| Mat44 & | InvertRotateTranslate () |
| . | |
| Mat44 & | VectorsToStandard (const V3 &pivot, const V3 &vz, const V3 &vy) |
| Calculate frame of reference. | |
| void | GetOGLMat (float *mat) const |
| Get OpenGL compatible matrix. | |
| void | operator *= (const Mat44 &r) |
| . | |
Static Public Attributes | |
| Mat44 | I |
| Identity matrix. | |
|
||||||||||||||||
|
Calculate frame of reference.
|
1.2.17