diff options
Diffstat (limited to 'src/math/matrix4f.h')
-rw-r--r-- | src/math/matrix4f.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/math/matrix4f.h b/src/math/matrix4f.h index e69ae05..4148870 100644 --- a/src/math/matrix4f.h +++ b/src/math/matrix4f.h @@ -21,33 +21,33 @@ public: Matrix4f(); Matrix4f(const Matrix4f & other); Matrix4f(const Axis & axis); - + /// set all values to zero void clear(); - + /// set the value to a 4x4 unity matrix void unity(); - + /// assignment operator void assign(const Matrix4f & other); - + /// assignment operator inline Matrix4f & operator=(const Matrix4f &other); - + /// assign the matrix transformation equivalent to the coordinate system void assign(const Axis & axis); - + /// assign the matrix transformation equivalent to the coordinate system Matrix4f & operator=(const Axis & axis); - + /// return a pointer to the internal data inline float * ptr() const { return (float *) matrix; } - + /// return the transpose matrix Matrix4f const transpose(); - + private: float matrix[4][4]; }; |