#include <CMatrix.h>
Public Member Functions | |
CMatrix () | |
constructor | |
CMatrix (zfloat v11, zfloat v12, zfloat v13, zfloat v21, zfloat v22, zfloat v23, zfloat v31, zfloat v32, zfloat v33) | |
constructor (3x3) | |
CMatrix (zfloat v11, zfloat v12, zfloat v13, zfloat v14, zfloat v21, zfloat v22, zfloat v23, zfloat v24, zfloat v31, zfloat v32, zfloat v33, zfloat v34, zfloat v41, zfloat v42, zfloat v43, zfloat v44) | |
constructor (4x4) | |
CMatrix (zfloat v[16]) | |
constructor (4x4) | |
CMatrix | operator+ (const CMatrix &v) |
+ operator (3x3 and 4x4) | |
CMatrix | operator- (const CMatrix &v) |
| |
CMatrix | operator= (const CMatrix &v) |
= operator (3x3 and 4x4) | |
CVector3 | operator * (const CVector3 &v) |
* operator between a CVector3 object and a matrix (3x3) | |
void | wProduct (const CVector3 &v, zfloat w, zfloat *res) |
* operator between a CVector3 object and a matrix (4x4) (assuming w = 1) | |
CMatrix | operator * (const CMatrix &v) |
product between matrices (3x3 4x4) | |
zfloat | determinant3 () const |
returns the determinat (???) (3x3) | |
Public Attributes | |
zfloat | fm [16] |
4x4matrix values |
matrix management class
|
constructor
|
|
constructor (3x3)
|
|
constructor (4x4)
|
|
constructor (4x4)
|
|
returns the determinat (???) (3x3)
|
|
product between matrices (3x3 4x4)
|
|
* operator between a CVector3 object and a matrix (3x3)
|
|
+ operator (3x3 and 4x4)
|
|
|
|
= operator (3x3 and 4x4)
|
|
* operator between a CVector3 object and a matrix (4x4) (assuming w = 1)
|
|
4x4matrix values
|