diff options
Diffstat (limited to 'engine/matrix.h')
-rw-r--r-- | engine/matrix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/matrix.h b/engine/matrix.h index b6e4e3c..8be483a 100644 --- a/engine/matrix.h +++ b/engine/matrix.h @@ -14,6 +14,10 @@ class Matrix2 : Matrix<2, 2> { Matrix2(); Matrix2(float m00, float m01, float m10, float m11); + Matrix2 operator*(const Matrix2& mat); + + Matrix2 operator*(float f); + Vector2 operator*(const Vector2& v); }; |