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