From 0f4817d4861e6dad333b028c483025ddfcc153b9 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Sat, 23 May 2009 20:14:53 +0000 Subject: [PATCH] Correct a bug. --- vcg/space/obox3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcg/space/obox3.h b/vcg/space/obox3.h index 555b8e43..e8e3e705 100644 --- a/vcg/space/obox3.h +++ b/vcg/space/obox3.h @@ -33,8 +33,8 @@ namespace vcg { public: - Matrix44f m; // a matrix to go in OB space - Matrix44f mi; // inverse of m: from OB space to World + Matrix44 m; // a matrix to go in OB space + Matrix44 mi; // inverse of m: from OB space to World /// The bounding box constructor inline Obox3():Box3(){} @@ -54,7 +54,7 @@ namespace vcg { } //Verifica se un punto appartiene ad un oriented bounding box. bool IsIn( Point3 const &p) const{ - vcg::Point3f mod= m*p; + vcg::Point3 mod= m*p; return Box3::IsIn(mod); } /// The bounding box distructor