From 9aa38646ff4620dd10cec3f8e1bccaf587863ce6 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Wed, 12 Jul 2006 12:13:23 +0000 Subject: [PATCH] static keyword only in declaration not in implementation --- vcg/space/smallest_enclosing.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vcg/space/smallest_enclosing.h b/vcg/space/smallest_enclosing.h index 3f327575..ebd21c1c 100644 --- a/vcg/space/smallest_enclosing.h +++ b/vcg/space/smallest_enclosing.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.2 2006/07/10 10:38:16 turini +minor changes in SphereOfTetra() + Revision 1.1 2006/07/06 12:37:18 ganovelli draft version. For the triangle is not tehe smallest enclosing sphere and for the set of spheres works only for two spheres @@ -61,18 +64,18 @@ struct SmallestEnclosing { template Sphere3 -static SmallestEnclosing::SphereOfTriangle(const TriangleType & t){ +SmallestEnclosing::SphereOfTriangle(const TriangleType & t){ return Sphere3(t.Barycenter(),(t.Barycenter()-t.cP(0)).Norm() ); } template Sphere3 -static SmallestEnclosing::SphereOfTetra(const TetraType & t){ +SmallestEnclosing::SphereOfTetra(const TetraType & t){ return Sphere3( t.Barycenter(),( t.Barycenter() - t.cP(0) ).Norm() ); } template -static typename SphereContType::value_type +typename SphereContType::value_type SmallestEnclosing:: SphereOfSpheres( const SphereContType & spheres) {