From 4dd3dbdbfb1b5da2a5865ed3aa1489b149b09e9e Mon Sep 17 00:00:00 2001
From: cignoni <paolo.cignoni@isti.cnr.it>
Date: Thu, 12 Jul 2007 06:42:01 +0000
Subject: [PATCH] added the missing static Construct() member

---
 vcg/math/matrix44.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/vcg/math/matrix44.h b/vcg/math/matrix44.h
index 3d388903..b0709172 100644
--- a/vcg/math/matrix44.h
+++ b/vcg/math/matrix44.h
@@ -24,6 +24,9 @@
   History
 
 $Log: not supported by cvs2svn $
+Revision 1.33  2007/07/03 16:06:48  corsini
+add DCM to Euler Angles conversion
+
 Revision 1.32  2007/03/08 14:39:27  corsini
 final fix to euler angles transformation
 
@@ -261,6 +264,13 @@ public:
     for(int i = 0; i < 16; i++) 
       _a[i] = (T)(m.V()[i]);
   }
+	  template <class Q> 
+  static inline Matrix44 Construct( const Matrix44<Q> & b )
+  {
+	  Matrix44<T> tmp; tmp.FromMatrix(b);
+    return tmp;
+  }
+
 };