diff --git a/vcg/space/tetra3.h b/vcg/space/tetra3.h index d303dfd9..f65401f1 100644 --- a/vcg/space/tetra3.h +++ b/vcg/space/tetra3.h @@ -125,6 +125,8 @@ Initial commit #include #include +#include + namespace vcg { /** \addtogroup space */ /*@{*/ @@ -479,8 +481,8 @@ ScalarType ComputeAspectRatio() a=Barycentric.V(0); b=Barycentric.V(1); - d=Barycentric.V(2); - c=1-(a+b+d); + d=Barycentric.V(2); + c=1-(a+b+d); }