#include <MathTypes.h>
Public Member Functions | |
| FMatrix3 (const FMatrix4 &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) |
| void | Identity () |
| bool | IsIdentity () const |
| void | AxisAngle (const FPoint3 &vec, double theta) |
| void | SetFromVectors (const FPoint3 &forward, const FPoint3 &up) |
| void | Transform (const FPoint3 &src, FPoint3 &dst) const |
| void | SetFromMatrix4 (const FMatrix4 &mat) |
| void | MakeOrientation (const FPoint3 &vector, bool bPitch=true) |
| void | PreMult (const FMatrix3 &mat) |
| void | PostMult (const FMatrix3 &mat) |
| float | operator() (int col, int row) const |
| FMatrix3 & | operator= (const FMatrix4 &mat) |
Protected Attributes | |
| float | data [3][3] |
A 3x3 matrix class, single-precision.
| void FMatrix3::MakeOrientation | ( | const FPoint3 & | vector, |
| bool | bPitch = true |
||
| ) |
Create a rotation matrix that represents an orientation that points along a given vector.
1.8.4