Properties | |
| Number | m11 |
| Number | m12 |
| Number | m13 |
| Number | m14 |
| Number | m21 |
| Number | m22 |
| Number | m23 |
| Number | m24 |
| Number | m31 |
| Number | m32 |
| Number | m33 |
| Number | m34 |
Constructors | |
| DzMatrix3 (Number m11, Number m12, Number m13, Number m14, Number m21, Number m22, Number m23, Number m24, Number m31, Number m32, Number m33, Number m34) | |
| DzMatrix3 (DzMatrix3 mat) | |
| DzMatrix3 () | |
Methods | |
| DzMatrix3 | inverse () |
| DzMatrix3 | multiply (DzMatrix3 mat) |
| DzVec3 | multMatrixVec (DzVec3 vec) |
| void | noRot () |
| void | noScale () |
| void | noTrans () |
| void | orthogonalize () |
| void | preRotate (DzQuat rotation) |
| void | preRotateX (Number radians) |
| void | preRotateY (Number radians) |
| void | preRotateZ (Number radians) |
| void | preTranslate (DzVec3 trans) |
| void | rotate (DzQuat rotation) |
| void | rotateX (Number radians) |
| void | rotateY (Number radians) |
| void | rotateZ (Number radians) |
| void | scale (DzVec3 scale) |
| void | setIdentity () |
| void | setTrans (DzVec3 trans) |
| void | translate (DzVec3 trans) |
| DzMatrix3::DzMatrix3 | ( | ) |
Constructor.
| DzMatrix3::DzMatrix3 | ( | DzMatrix3 | mat | ) |
Copy Constructor.
| DzMatrix3::DzMatrix3 | ( | Number | m11, | |
| Number | m12, | |||
| Number | m13, | |||
| Number | m14, | |||
| Number | m21, | |||
| Number | m22, | |||
| Number | m23, | |||
| Number | m24, | |||
| Number | m31, | |||
| Number | m32, | |||
| Number | m33, | |||
| Number | m34 | |||
| ) |
Constructor from a 3x4 array of elements
| DzMatrix3 DzMatrix3::inverse | ( | ) |
| void DzMatrix3::noRot | ( | ) |
Clears any rotation value in the matrix.
| void DzMatrix3::noScale | ( | ) |
Clears any scale value in the matrix.
| void DzMatrix3::noTrans | ( | ) |
Clears any translation value in the matrix.
| void DzMatrix3::orthogonalize | ( | ) |
Orthogonalizes the matrix.
| void DzMatrix3::preRotate | ( | DzQuat | rotation | ) |
Rotates the current matrix via pre-multiplication.
| void DzMatrix3::preRotateX | ( | Number | radians | ) |
Rotates the current matrix around the x axis via pre-multiplication.
| void DzMatrix3::preRotateY | ( | Number | radians | ) |
Rotates the current matrix around the y axis via pre-multiplication.
| void DzMatrix3::preRotateZ | ( | Number | radians | ) |
Rotates the current matrix around the z axis via pre-multiplication.
| void DzMatrix3::preTranslate | ( | DzVec3 | trans | ) |
Translates the current matrix via pre-multiplication.
| void DzMatrix3::rotate | ( | DzQuat | rotation | ) |
Rotates the current matrix via post-multiplication.
| void DzMatrix3::rotateX | ( | Number | radians | ) |
Rotates the current matrix around the x axis via post-multiplication.
| void DzMatrix3::rotateY | ( | Number | radians | ) |
Rotates the current matrix around the y axis via post-multiplication.
| void DzMatrix3::rotateZ | ( | Number | radians | ) |
Rotates the current matrix around the z axis via post-multiplication.
| void DzMatrix3::scale | ( | DzVec3 | scale | ) |
Applies the given scale to the current matrix via post-multiplication.
| void DzMatrix3::setIdentity | ( | ) |
Sets the matrix to the identity matrix.
| void DzMatrix3::setTrans | ( | DzVec3 | trans | ) |
Sets the matrix to the given translation.
| void DzMatrix3::translate | ( | DzVec3 | trans | ) |
Translates the current matrix via post-multiplication.
The value of the matrix at [1, 1]
The value of the matrix at [1, 2]
The value of the matrix at [1, 3]
The value of the matrix at [1, 4]
The value of the matrix at [2, 1]
The value of the matrix at [2, 2]
The value of the matrix at [2, 3]
The value of the matrix at [2, 4]
The value of the matrix at [3, 1]
The value of the matrix at [3, 2]
The value of the matrix at [3, 3]
The value of the matrix at [3, 4]