Matrix2.hpp
Go to the documentation of this file.
vec2 applyScaleRotation(const vec2 &_point) const
Apply matrix on a vector Scale Rotate, but NOT the translation.
basic namespace of the etk library. (it might contain all the etk fuctions/class/structures without m...
Definition: Archive.hpp:16
Matrix2 operator-(const Matrix2 &_obj) const
Operator- Decrement an other matrix with this one.
Matrix2 operator+(const Matrix2 &_obj) const
Operator+ Addition an other matrix with this one.
bool operator!=(const Matrix2 &_obj) const
In-Equality compare operator with an other object.
Matrix2 operator*(const Matrix2 &_obj)
Operator* Multiplication an other matrix with this one.
bool operator==(const Matrix2 &_obj) const
Equality compare operator with an other object.
const Matrix2 & operator=(const Matrix2 &_obj)
Operator= Asign the current object with an other object.
const Matrix2 & operator+=(const Matrix2 &_obj)
Operator+= Addition an other matrix with this one.
const Matrix2 & operator*=(const Matrix2 &_obj)
Operator*= Multiplication an other matrix with this one.
Matrix2 mat2Translate(const vec2 &_translate)
Create a matrix 2D with a simple translation.
const Matrix2 & operator-=(const Matrix2 &_obj)
Operator-= Decrement an other matrix with this one.