#include <IMatrix4x4.h>
Public Member Functions | |
IMatrix4x4 () | |
Constructor. | |
IMatrix4x4 (IMatrix4x4 ©) | |
Copy constructor. | |
const float * | getMatrixPointer () |
Returns a pointer to the matrix data. | |
void | loadIdentity () |
Loads the identity matrix. | |
void | setMatrix (IMatrix4x4 ©) |
Sets the matrix. | |
void | setMatrix (const float *copy) |
Sets the matrix from a matrix data pointer. | |
float | getElement (unsigned short id) |
Returns the given element. | |
float | operator[] (int id) |
Returns the given element. | |
IMatrix4x4 & | operator *= (IMatrix4x4 &m) |
Multiplies the matrix by another 4x4 matrix. | |
IMatrix4x4 & | operator *= (float s) |
Scales the matrix. | |
IMatrix4x4 & | operator+= (IMatrix4x4 &m) |
Add two matrices. | |
IMatrix4x4 & | operator-= (IMatrix4x4 &m) |
Subtract two matrices. |
|
Constructor.
|
|
Copy constructor.
|
|
Returns the given element.
|
|
Returns a pointer to the matrix data.
|
|
Loads the identity matrix.
|
|
Scales the matrix.
|
|
Multiplies the matrix by another 4x4 matrix.
|
|
Add two matrices.
|
|
Subtract two matrices.
|
|
Returns the given element.
|
|
Sets the matrix from a matrix data pointer.
|
|
Sets the matrix.
|