A class representing a 3x3 matrix. More...
#include <vector3.h>
Public Member Functions | |
| Matrix3 () | |
| Matrix3 (const Vector3 row1, const Vector3 row2, const Vector3 row3) | |
| Vector3 | operator* (const Vector3 &vector) const |
| Matrix3 | Transposition () const |
| void | Transform (Vector3 *outVectors, unsigned vectorCount, const Vector3 *inVectors) |
Public Attributes | |
| Vector3 | Row1 |
| Vector3 | Row2 |
| Vector3 | Row3 |
A class representing a 3x3 matrix.
Definition at line 420 of file vector3.h.
| Matrix3::Matrix3 | ( | ) |
Multiply this matrix by a 3vector.
| vector | The vector to multiply by. This is treated as a column vector. |
Definition at line 410 of file vector3.cpp.
| Matrix3 Matrix3::Transposition | ( | ) | const |
Transpose a matrix. (Exchange rows with columns.)
Definition at line 424 of file vector3.cpp.
Tranform an array of vectors by multiplying each against this matrix, acording to the operator*() function.
| outVectors | Pointer to array where transformed vectors will be written to. | |
| vectorCount | Number of vectors in array. | |
| inVectors | Pointer to array vectors to be transformed. |
Definition at line 432 of file vector3.cpp.
1.6.1