diff --git a/vcg/space/box3.h b/vcg/space/box3.h index e6d55de4..5c3ec6f7 100644 --- a/vcg/space/box3.h +++ b/vcg/space/box3.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.13 2006/09/28 13:37:13 m_di_benedetto +Added "const" to Collide() + Revision 1.12 2006/07/06 12:42:10 ganovelli tolto il tipo enumerato axis @@ -349,6 +352,9 @@ public: } }; // end class definition +template Box3 Point3::GetBBox(Box3 &bb) const { + bb.Set( *this ); +} diff --git a/vcg/space/point3.h b/vcg/space/point3.h index 2934c194..2135d147 100644 --- a/vcg/space/point3.h +++ b/vcg/space/point3.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.25 2006/10/13 12:59:24 cignoni +Added **explicit** constructor from three coords of a different scalartype + Revision 1.24 2006/09/28 13:37:35 m_di_benedetto added non const * V() @@ -100,6 +103,7 @@ namespace vcg { The class is templated over the ScalarType class that is used to represent coordinates. All the usual operator overloading (* + - ...) is present. */ +template class Box3; template class Point3 { @@ -336,7 +340,8 @@ public: _v[1]= ro*sin(theta)*sin(phi); _v[2]= ro*cos(phi); } - + + Box3 GetBBox(Box3 &bb) const; //@} //@{