From a4e78fa1191d3f35e6b3f69a01efa88479f793f3 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Wed, 2 Feb 2005 16:44:34 +0000 Subject: [PATCH] 1 warning corrected added casting in const ScalarType EPSILON = ScalarType( 0.000001); --- vcg/simplex/face/distance.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/face/distance.h b/vcg/simplex/face/distance.h index 976a570f..5b396f46 100644 --- a/vcg/simplex/face/distance.h +++ b/vcg/simplex/face/distance.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.4 2005/01/28 12:00:33 cignoni +small gcc compiling issues for namespaces + Revision 1.3 2005/01/24 15:35:25 cignoni Removed a 'using namespace' @@ -78,8 +81,8 @@ namespace vcg { { typedef typename FaceType::ScalarType ScalarType; - //const ScalarType EPSILON = ScalarType( 0.000001); - const ScalarType EPSILON = 0.00000001; + const ScalarType EPSILON = ScalarType( 0.000001); + //const ScalarType EPSILON = 0.00000001; ScalarType b,b0,b1,b2; // Calcolo distanza punto piano ScalarType d = Distance( f.plane, q );