From ec2e478c4a0726bc29b5ce8ec0d71f809c054438 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Wed, 12 Jul 2006 12:14:31 +0000 Subject: [PATCH] changes for compilation on linux. Not sure about using either SphereOfTriangle or SphereOfTetra, please check. --- vcg/simplex/face/base.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vcg/simplex/face/base.h b/vcg/simplex/face/base.h index 0e1be1b8..7cd62350 100644 --- a/vcg/simplex/face/base.h +++ b/vcg/simplex/face/base.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.38 2006/07/06 12:45:08 ganovelli +added SmallestEnclosingSphere + Revision 1.37 2006/01/22 10:00:43 cignoni Very Important Change: Area->DoubleArea (and no more Area function) @@ -147,6 +150,7 @@ First commit... #include #include #include +#include #include namespace vcg { @@ -1180,7 +1184,7 @@ CoordType Barycenter() const Sphere3 SmallestEnclosingSphere() const { - return SmallestEnclosing::Sphere(*this); + return SmallestEnclosing::SphereOfTriangle(*this); } ScalarType Perimeter() const