diff --git a/vcg/space/intersection2.h b/vcg/space/intersection2.h index dce93b0b..118aa613 100644 --- a/vcg/space/intersection2.h +++ b/vcg/space/intersection2.h @@ -56,8 +56,8 @@ namespace vcg { template inline bool Convex(const Point2 & p0,const Point2 & p1,const Point2 & p2) { - const SCALAR_TYPE EPSILON= SCALAR_TYPE(1e-8); - return (((p0-p1)^(p2-p1))<=EPSILON); + const SCALAR_TYPE EPS= SCALAR_TYPE(1e-8); + return (((p0-p1)^(p2-p1))<=EPS); } ///return if exist the intersection point