[DEBUG] add matrix const

This commit is contained in:
Edouard DUPIN 2013-03-15 23:32:41 +01:00
parent 03e9157891
commit 3d4b4123b7

View File

@ -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;