From 3d4b4123b758fa2ae9421041503e86b56f599826 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 15 Mar 2013 23:32:41 +0100 Subject: [PATCH] [DEBUG] add matrix const --- etk/math/Matrix4.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etk/math/Matrix4.h b/etk/math/Matrix4.h index ac54f14..c35bb8a 100644 --- a/etk/math/Matrix4.h +++ b/etk/math/Matrix4.h @@ -121,7 +121,7 @@ namespace etk /***************************************************** * + operator *****************************************************/ - Matrix4 operator+ (const Matrix4& obj) { + Matrix4 operator+ (const Matrix4& obj) const { Matrix4 tmpp(*this); tmpp += obj; return tmpp; @@ -138,7 +138,7 @@ namespace etk /***************************************************** * - operator *****************************************************/ - Matrix4 operator- (const Matrix4& obj) { + Matrix4 operator- (const Matrix4& obj) const { Matrix4 tmpp(*this); tmpp += obj; return tmpp; @@ -172,7 +172,7 @@ namespace etk /***************************************************** * * operator *****************************************************/ - Matrix4 operator* (const Matrix4& obj) { + Matrix4 operator* (const Matrix4& obj) const { Matrix4 tmpp(*this); tmpp *= obj; return tmpp;