From 57c0fc82388e421f4cc4c896220422d99e7d4488 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Mon, 4 Aug 2008 10:53:08 +0000 Subject: [PATCH] added inclusion of point3.h, removed useless namespace in InterpolationParameters --- vcg/space/triangle3.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcg/space/triangle3.h b/vcg/space/triangle3.h index b90e40d1..2b4ae6d2 100644 --- a/vcg/space/triangle3.h +++ b/vcg/space/triangle3.h @@ -94,6 +94,7 @@ Initial commit #define __VCG_TRIANGLE3 #include +#include #include #include @@ -170,7 +171,7 @@ typename TriangleType::ScalarType QualityFace(const TriangleType &t) @return true se bq appartiene alla faccia, false altrimenti */ template -bool InterpolationParameters(const TriangleType t,const vcg::Point3 & bq, ScalarType &a, ScalarType &b, ScalarType &_c ) +bool InterpolationParameters(const TriangleType t,const Point3 & bq, ScalarType &a, ScalarType &b, ScalarType &_c ) { const ScalarType EPSILON = ScalarType(0.000001); #define x1 (t.P(0).X())