Public Member Functions |
csVector4 | Col (size_t n) const |
| Get a column from this matrix as a vector.
|
csVector4 | Col1 () const |
| Get the first column of this matrix as a vector.
|
csVector4 | Col2 () const |
| Get the second column of this matrix as a vector.
|
csVector4 | Col3 () const |
| Get the third column of this matrix as a vector.
|
csVector4 | Col4 () const |
| Get the third column of this matrix as a vector.
|
csString | Description () const |
| Return a textual representation of the matrix.
|
float | Determinant () const |
| Compute determinant of this matrix.
|
Matrix4 | GetInverse () const |
| Return the inverse of this matrix.
|
csTransform | GetTransform () const |
| Return a csTransform object representation of the matrix.
|
Matrix4 | GetTranspose () const |
| Return the transpose of this matrix.
|
void | Invert () |
| Invert this matrix.
|
| Matrix4 () |
| Construct a matrix, initialized to be the identity.
|
| Matrix4 (float am11, float am12, float am13, float am14, float am21, float am22, float am23, float am24, float am31, float am32, float am33, float am34, float am41, float am42, float am43, float am44) |
| Construct a matrix and initialize it.
|
| Matrix4 (Matrix4 const &o) |
| Copy constructor.
|
| Matrix4 (csTransform const &o) |
| Construct from a transform.
|
| Matrix4 (csMatrix3 const &m) |
| Construct from a 3x3 matrix.
|
csVector4 | operator* (const csVector4 &v) const |
| Multiply matrix with a Vector.
|
Matrix4 & | operator*= (float f) |
| Scale complete matrix.
|
Matrix4 & | operator/= (float f) |
| Scale complete matrix.
|
Matrix4 & | operator= (const Matrix4 &o) |
| Assign another matrix to this one.
|
csVector4 | Row (size_t n) const |
| Get a row from this matrix as a vector.
|
csVector4 | Row1 () const |
| Get the first row of this matrix as a vector.
|
csVector4 | Row2 () const |
| Get the second row of this matrix as a vector.
|
csVector4 | Row3 () const |
| Get the third row of this matrix as a vector.
|
csVector4 | Row4 () const |
| Get the third row of this matrix as a vector.
|
void | Transpose () |
| Transpose this matrix.
|
Friends |
Matrix4 | operator* (const Matrix4 &m1, const Matrix4 &m2) |
| Multiply two matrices.
|
A 4x4 matrix.
Definition at line 43 of file matrix4.h.