diff --git a/vcg/space/obox3.h b/vcg/space/obox3.h index e8e3e705..09865a67 100644 --- a/vcg/space/obox3.h +++ b/vcg/space/obox3.h @@ -29,7 +29,7 @@ namespace vcg { template - class Obox3:public Box3{ + class Obox3:public Box3{ public: @@ -39,7 +39,7 @@ namespace vcg { /// The bounding box constructor inline Obox3():Box3(){} /// Copy constructor - inline Obox3(const Obox3 &b):min(b.min),max(b.max),m(b.m),mi(b.mi){} + inline Obox3(const Obox3 &b):Box3(b.min,b.max),m(b.m),mi(b.mi){} /// Min Max Frame constructor inline Obox3(const Point3 &min, const Point3 &max, const Point3 *frame):Box3(min,max){ T v[16]; @@ -55,7 +55,7 @@ namespace vcg { //Verifica se un punto appartiene ad un oriented bounding box. bool IsIn( Point3 const &p) const{ vcg::Point3 mod= m*p; - return Box3::IsIn(mod); + return Box3::IsIn(mod); } /// The bounding box distructor inline ~Obox3(){}