#include <FXMat3d.h>
Public Member Functions | |
FXMat3d () | |
FXMat3d (const FXMat3d &other) | |
FXMat3d (FXdouble w) | |
FXMat3d (FXdouble a00, FXdouble a01, FXdouble a02, FXdouble a10, FXdouble a11, FXdouble a12, FXdouble a20, FXdouble a21, FXdouble a22) | |
FXMat3d (const FXVec3d &a, const FXVec3d &b, const FXVec3d &c) | |
FXMat3d (const FXQuatd &quat) | |
FXMat3d & | operator= (const FXMat3d &other) |
FXMat3d & | operator= (FXdouble w) |
FXMat3d & | set (const FXMat3d &other) |
FXMat3d & | set (FXdouble w) |
FXMat3d & | set (FXdouble a00, FXdouble a01, FXdouble a02, FXdouble a10, FXdouble a11, FXdouble a12, FXdouble a20, FXdouble a21, FXdouble a22) |
FXMat3d & | set (const FXVec3d &a, const FXVec3d &b, const FXVec3d &c) |
FXMat3d & | set (const FXQuatd &quat) |
FXMat3d & | operator+= (const FXMat3d &w) |
FXMat3d & | operator-= (const FXMat3d &w) |
FXMat3d & | operator*= (FXdouble w) |
FXMat3d & | operator*= (const FXMat3d &w) |
FXMat3d & | operator/= (FXdouble w) |
FXVec3d & | operator[] (FXint i) |
const FXVec3d & | operator[] (FXint i) const |
operator FXdouble * () | |
operator const FXdouble * () const | |
FXMat3d | operator- () const |
FXMat3d | operator+ (const FXMat3d &w) const |
FXMat3d | operator- (const FXMat3d &w) const |
FXMat3d | operator* (const FXMat3d &w) const |
FXVec3d | operator* (const FXVec3d &v) const |
FXVec2d | operator* (const FXVec2d &v) const |
FXMat3d & | eye () |
FXMat3d & | rot (FXdouble c, FXdouble s) |
FXMat3d & | rot (FXdouble phi) |
FXMat3d & | trans (FXdouble tx, FXdouble ty) |
FXMat3d & | scale (FXdouble sx, FXdouble sy) |
FXMat3d & | scale (FXdouble s) |
FXdouble | det () const |
FXMat3d | transpose () const |
FXMat3d | invert () const |
Protected Attributes | |
FXVec3d | m [3] |
Friends | |
FXAPI FXMat3d | operator* (FXdouble x, const FXMat3d &a) |
FXAPI FXMat3d | operator* (const FXMat3d &a, FXdouble x) |
FXAPI FXMat3d | operator/ (const FXMat3d &a, FXdouble x) |
FXAPI FXMat3d | operator/ (FXdouble x, const FXMat3d &a) |
FXAPI FXStream & | operator<< (FXStream &store, const FXMat3d &m) |
FXAPI FXStream & | operator>> (FXStream &store, FXMat3d &m) |
FX::FXMat3d::FXMat3d | ( | ) | [inline] |
Default constructor.
FX::FXMat3d::FXMat3d | ( | const FXMat3d & | other | ) |
Initialize matrix from another matrix.
FX::FXMat3d::FXMat3d | ( | FXdouble | w | ) |
Initialize matrix from scalar.
FX::FXMat3d::FXMat3d | ( | FXdouble | a00, | |
FXdouble | a01, | |||
FXdouble | a02, | |||
FXdouble | a10, | |||
FXdouble | a11, | |||
FXdouble | a12, | |||
FXdouble | a20, | |||
FXdouble | a21, | |||
FXdouble | a22 | |||
) |
Initialize matrix from components.
Initialize matrix from three vectors.
FX::FXMat3d::FXMat3d | ( | const FXQuatd & | quat | ) |
Initialize matrix from quaternion.
FXMat3d& FX::FXMat3d::set | ( | FXdouble | w | ) |
Set value from scalar.
FXMat3d& FX::FXMat3d::set | ( | FXdouble | a00, | |
FXdouble | a01, | |||
FXdouble | a02, | |||
FXdouble | a10, | |||
FXdouble | a11, | |||
FXdouble | a12, | |||
FXdouble | a20, | |||
FXdouble | a21, | |||
FXdouble | a22 | |||
) |
Set value from components.
Set value from three vectors.
FXVec3d& FX::FXMat3d::operator[] | ( | FXint | i | ) | [inline] |
Indexing.
FX::FXMat3d::operator FXdouble * | ( | ) | [inline] |
Conversion.
FXMat3d FX::FXMat3d::operator- | ( | ) | const |
Unary minus.
FXMat3d& FX::FXMat3d::eye | ( | ) |
Set identity matrix.
FXMat3d& FX::FXMat3d::rot | ( | FXdouble | c, | |
FXdouble | s | |||
) |
Multiply by rotation of phi.
FXMat3d& FX::FXMat3d::trans | ( | FXdouble | tx, | |
FXdouble | ty | |||
) |
Multiply by translation.
FXMat3d& FX::FXMat3d::scale | ( | FXdouble | sx, | |
FXdouble | sy | |||
) |
Multiply by scaling.
FXdouble FX::FXMat3d::det | ( | ) | const |
Determinant.
FXMat3d FX::FXMat3d::transpose | ( | ) | const |
Transpose.
FXMat3d FX::FXMat3d::invert | ( | ) | const |
Invert.