#include <matrix.h>
Public Member Functions | |
| Matrix () | |
| Matrix (DBL d[3][3]) | |
| Matrix (int d) | |
| DBL & | operator() (int i, int j) |
| const DBL & | operator() (int i, int j) const |
| void | zero () |
| void | transpose () |
| bool | invert () |
| void | applyFromLeft (const Matrix &m) |
Static Public Member Functions | |
| Matrix | generateScaleMatrix (const Vector3 &v) |
| Matrix | generateRotationMatrix (const Vector3 &v) |
|
|
Create uninitialized matrix. |
|
|
Create matrix from array.
|
|
|
Create matrix with same entries.
|
|
|
Matrix multiplication. Calculate A = M*A.
|
|
|
Create rotation matrix.
|
|
|
Create scaling matrix. Elements of v on the diagonal and zeros elsewhere.
|
|
|
Invert matrix.
|
|
||||||||||||
|
Access to matrix elements in constant matrix. |
|
||||||||||||
|
Access to matrix elements. |
|
|
Transpose matrix. |
|
|
Set all matrix entries to zero. |
1.3.8