|
| Matrix4x4 () |
| Default constructor, initializes the matrix to identity matrix. More...
|
|
| Matrix4x4 (float x0, float x1, float x2, float x3, float x4, float x5, float x6, float x7, float x8, float x9, float x10, float x11, float x12, float x13, float x14, float x15) |
| Constructs the matrix from elements. More...
|
|
| Matrix4x4 (const Vector3 &x, const Vector3 &y, const Vector3 &z, const Vector3 &translation) |
| Constructs the matrix from 4 vectors. More...
|
|
const float & | operator[] (size_t index) const |
| Access to individual elements of the matrix. More...
|
|
float & | operator[] (size_t index) |
| Access to individual elements of the matrix. More...
|
|
Vector3 | getXAxis () const |
|
Vector3 | getYAxis () const |
|
Vector3 | getZAxis () const |
|
Vector3 | getTranslation () const |
|
Vector3 | getScale () const |
|
void | scale (const Vector3 &scale) |
|
void | setXAxis (Vector3 v) |
|
void | setYAxis (Vector3 v) |
|
void | setZAxis (Vector3 v) |
|
void | setTranslation (Vector3 translation) |
|
float | getTranslationX () const |
| Get translation on X axis. More...
|
|
void | setTranslationX (float translationX) |
| Set translation on X axis. More...
|
|
float | getTranslationY () const |
| Get translation on Y axis. More...
|
|
void | setTranslationY (float translationY) |
| Set translation on Y axis. More...
|
|
float | getTranslationZ () const |
| Get translation on Z axis. More...
|
|
void | setTranslationZ (float translationZ) |
| Set translation on Z axis. More...
|
|
Matrix4x4 & | operator+= (const Matrix4x4 &v) |
| Modifies this matrix by adding another matrix. More...
|
|
Matrix4x4 & | operator-= (const Matrix4x4 &v) |
| Modifies this matrix by subtracting another matrix from this matrix. More...
|
|
Vector3 | operator* (const Vector3 &vector) const |
| Multiply a 3-component vector with this matrix. More...
|
|
Vector4 | operator* (const Vector4 &vector) const |
| Multiply a 4-component vector with this matrix. More...
|
|
Matrix4x4 & | operator*= (const Matrix4x4 &m) |
| Modifies this matrix by multiplying it with another matrix. More...
|
|
Matrix4x4 | transposed () const |
|
|
static Matrix4x4 | createTranslation (Vector3 translation) |
|
static Matrix4x4 | createTranslation (float x, float y, float z) |
|
static Matrix4x4 | createIdentity () |
|
static Matrix4x4 | createFromHomogenousMatrix (const Matrix3x3 &matrix, float zTranslation) |
|
static Matrix4x4 | createFromHomogenousMatrix (const Matrix3x3 &matrix) |
|
static Matrix4x4 | createXRotation (float angleInDegrees) |
|
static Matrix4x4 | createYRotation (float angleInDegrees) |
|
static Matrix4x4 | createZRotation (float angleInDegrees) |
|
static Matrix4x4 | createScale (Vector3 scale) |
|
static Matrix4x4 | createOrthogonalProjection (float left, float right, float bottom, float top, float near, float far) |
|
static optional< Matrix4x4 > | createLookAtMatrix (Vector3 position, Vector3 lookAtPoint, Vector3 upVector) |
|
static Matrix4x4 | createSRT (Vector3 scale, Vector3 rotationInRadians, Vector3 translation) |
|
Matrix with 4x4 elements.