The spica renderer
|
Matrix of 4 x 4 size. More...
#include <matrix4x4.h>
Public Member Functions | |
Matrix4x4 () | |
Constructor. More... | |
Matrix4x4 (const Matrix4x4 &mat) | |
Copy constructor. | |
Matrix4x4 (double m[4][4]) | |
Matrix4x4 (double t00, double t01, double t02, double t03, double t10, double t11, double t12, double t13, double t20, double t21, double t22, double t23, double t30, double t31, double t32, double t33) | |
Matrix4x4 | transposed () const |
Return the transposed matrix of the current instance. | |
Matrix4x4 | inverted () const |
Return the inverted matrix of the current instance. More... | |
Matrix4x4 & | operator= (const Matrix4x4 &mat) |
bool | operator== (const Matrix4x4 &m2) const |
bool | operator!= (const Matrix4x4 &m2) const |
double | operator() (int i, int j) const |
std::string | toString () const |
Matrix of 4 x 4 size.
spica::Matrix4x4::Matrix4x4 | ( | ) |
Constructor.
The constructor initializes the matrix as an identity.
Matrix4x4 spica::Matrix4x4::inverted | ( | ) | const |
Return the inverted matrix of the current instance.
This employs the simple Gauss elimination.