static Matrix identityMatrix
The identity matrix.
static Matrix createRotationY(float angle)
Create and return a rotation matrix around the y-axis matrix.
static Matrix matrixOrthographic(float left, float right, float bottom, float top, float zNear, float zFar)
Create and return an orthographic projection matrix.
float & operator[](unsigned element)
Array operator for accessing the elements of the matrix.
static const float identityArray[]
A 4x4 identity Matrix;.
Matrix operator*(Matrix right)
Multiply operator to post multiply a matrix by another.
static Matrix createRotationX(float angle)
Create and return a rotation matrix around the x-axis matrix.
static Matrix multiply(Matrix *left, Matrix *right)
Multiply 2 matrices to return a third.
float * getAsArray(void)
Get the matrix elements as a column major order array.
Matrix & operator=(const Matrix &another)
Overloading assingment operater to do deep copy of the Matrix elements.
static Matrix createRotationZ(float angle)
Create and return a rotation matrix around the z-axis matrix.
static Matrix matrixPerspective(float FOV, float ratio, float zNear, float zFar)
Create and return a perspective projection matrix.
float elements[16]
A 16 element floating point array used to represent a 4x4 matrix.