From ae18099281d46141fccd62e2a6876cdb7c485582 Mon Sep 17 00:00:00 2001 From: ponchio Date: Sat, 6 Mar 2004 15:46:43 +0000 Subject: [PATCH] Added Import. --- vcg/math/matrix44.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vcg/math/matrix44.h b/vcg/math/matrix44.h index bed79d4e..9826b58b 100644 --- a/vcg/math/matrix44.h +++ b/vcg/math/matrix44.h @@ -118,6 +118,11 @@ public: Matrix44 &SetRotate(T angle, const Point3 & axis); T Determinant() const; + + template void Import(const Matrix44 &m) { + for(int i = 0; i < 16; i++) + _a[i] = (T)m._a[i]; + } };