#include <MathTypes.h>
Public Member Functions | |
| FMatrix4 (const FMatrix3 &mat) | |
| void | Set (int col, int row, float v) |
| float | Get (int col, int row) const |
| void | SetRow (int row, float f0, float f1, float f2, float f3) |
| void | SetData (FMatrix4Data data_in) |
| const FMatrix4Data & | GetData () const |
| void | Identity () |
| bool | IsIdentity () const |
| void | AxisAngle (const FPoint3 &vec, double theta) |
| void | Translate (const FPoint3 &vec) |
| void | Invert (const FMatrix4 &src) |
| FPoint3 | GetTrans () const |
| void | SetTrans (FPoint3 pos) |
| void | SetFromVectors (const FPoint3 &pos, const FPoint3 &forward, const FPoint3 &up) |
| void | SetFromMatrix3 (const FMatrix3 &mat) |
| void | MakeScale (float x, float y, float z) |
| void | PreMult (const FMatrix4 &mat) |
| void | PostMult (const FMatrix4 &mat) |
| void | Transform (const FPoint3 &src, FPoint3 &dst) const |
| void | TransformVector (const FPoint3 &tmp, FPoint3 &dst) const |
| FPoint3 | PreMult (const FPoint3 &v) const |
| FPoint3 | PostMult (const FPoint3 &v) const |
| float | operator() (int col, int row) const |
| FMatrix4 & | operator= (const FMatrix3 &mat) |
| bool | operator== (const FMatrix4 &mat) const |
| bool | operator!= (const FMatrix4 &mat) const |
Protected Attributes | |
| float | data [4][4] |
A 4x4 matrix class, single-precision.
1.8.4