Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Single-precision 3x3 matrix. More...
#include <FXMat3f.h>
Public Member Functions | |
FXMat3f () | |
Default constructor; value is not initialized. | |
FXMat3f (FXfloat s) | |
Initialize matrix from scalar. | |
FXMat3f (FXfloat a00, FXfloat a01, FXfloat a02, FXfloat a10, FXfloat a11, FXfloat a12, FXfloat a20, FXfloat a21, FXfloat a22) | |
Initialize matrix from components. | |
FXMat3f (const FXMat2f &s) | |
Initialize with 2x2 rotation and scale matrix. | |
FXMat3f (const FXMat3f &s) | |
Initialize matrix from another matrix. | |
FXMat3f (const FXMat4f &s) | |
Initialize from rotation and scaling part of 4x4 matrix. | |
FXMat3f (const FXQuatf &quat) | |
Initialize matrix from quaternion. | |
FXMat3f (const FXVec3f &a, const FXVec3f &b, const FXVec3f &c) | |
Initialize matrix from three vectors. | |
FXMat3f (FXfloat a, FXfloat b, FXfloat c) | |
Initialize diagonal matrix. | |
FXMat3f (const FXVec3f &d) | |
Initialize diagonal matrix. | |
FXMat3f (const FXfloat s[]) | |
Initialize matrix from array. | |
FXMat3f & | operator= (FXfloat s) |
Assignment from scalar. | |
FXMat3f & | operator= (const FXMat2f &s) |
Assignment. | |
FXMat3f & | operator= (const FXMat3f &s) |
FXMat3f & | operator= (const FXMat4f &s) |
FXMat3f & | operator= (const FXQuatf &quat) |
Assignment from quaternion. | |
FXMat3f & | operator= (const FXfloat s[]) |
Assignment from array. | |
FXMat3f & | set (FXfloat s) |
Set value from scalar. | |
FXMat3f & | set (FXfloat a00, FXfloat a01, FXfloat a02, FXfloat a10, FXfloat a11, FXfloat a12, FXfloat a20, FXfloat a21, FXfloat a22) |
Set value from components. | |
FXMat3f & | set (const FXMat2f &s) |
Set value from 2x2 rotation and scale matrix. | |
FXMat3f & | set (const FXMat3f &s) |
Set value from another matrix. | |
FXMat3f & | set (const FXMat4f &s) |
Set from rotation and scaling part of 4x4 matrix. | |
FXMat3f & | set (const FXQuatf &quat) |
Set value from quaternion. | |
FXMat3f & | set (const FXVec3f &a, const FXVec3f &b, const FXVec3f &c) |
Set value from three vectors. | |
FXMat3f & | set (FXfloat a, FXfloat b, FXfloat c) |
Set diagonal matrix. | |
FXMat3f & | set (const FXVec3f &d) |
Set diagonal matrix. | |
FXMat3f & | set (const FXfloat s[]) |
Set value from array. | |
FXMat3f & | operator+= (const FXMat3f &w) |
Assignment operators. | |
FXMat3f & | operator-= (const FXMat3f &w) |
FXMat3f & | operator*= (const FXMat3f &w) |
FXMat3f & | operator*= (FXfloat w) |
FXMat3f & | operator/= (FXfloat w) |
FXVec3f & | operator[] (FXint i) |
Indexing. | |
const FXVec3f & | operator[] (FXint i) const |
operator FXfloat * () | |
Conversion. | |
operator const FXfloat * () const | |
FXMat3f | operator- () const |
Unary minus. | |
FXMat3f & | identity () |
Set to identity matrix. | |
FXbool | isIdentity () const |
Return true if identity matrix. | |
FXMat3f & | rot (const FXQuatf &q) |
Multiply by rotation about unit-quaternion. | |
FXMat3f & | rot (const FXVec3f &v, FXfloat c, FXfloat s) |
Multiply by rotation c,s about unit axis. | |
FXMat3f & | rot (const FXVec3f &v, FXfloat phi) |
Multiply by rotation of phi about unit axis. | |
FXMat3f & | xrot (FXfloat c, FXfloat s) |
Multiply by x-rotation. | |
FXMat3f & | xrot (FXfloat phi) |
FXMat3f & | yrot (FXfloat c, FXfloat s) |
Multiply by y-rotation. | |
FXMat3f & | yrot (FXfloat phi) |
FXMat3f & | zrot (FXfloat c, FXfloat s) |
Multiply by z-rotation. | |
FXMat3f & | zrot (FXfloat phi) |
FXMat3f & | scale (FXfloat sx, FXfloat sy, FXfloat sz) |
Multiply by scaling. | |
FXMat3f & | scale (const FXVec3f &v) |
FXMat3f & | scale (FXfloat s) |
FXMat3f & | mirror (const FXVec3f &n) |
Mirror-matrix with plane normal n. | |
FXfloat | det () const |
Determinant. | |
FXMat3f | transpose () const |
Transpose. | |
FXMat3f | invert () const |
Invert. | |
~FXMat3f () | |
Destructor. | |
Protected Attributes | |
FXVec3f | m [3] |
Single-precision 3x3 matrix.
Copyright © 1997-2022 Jeroen van der Zijp |