From 033c9dd63a75db8afb448760cdb59bc8f89d5e7a Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 11 Dec 2012 22:48:23 +0100 Subject: [PATCH] [DEV] update matrix template --- etk/math/Matrix.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/etk/math/Matrix.h b/etk/math/Matrix.h index 80f5897..a19da48 100644 --- a/etk/math/Matrix.h +++ b/etk/math/Matrix.h @@ -101,6 +101,14 @@ namespace etk m_data = obj.m_data; return *this; }; + const Matrix& operator= (T& value) + { + // set data : + for (int32_t iii=0; iii