diff --git a/vcg/complex/algorithms/smooth_field.h b/vcg/complex/algorithms/smooth_field.h index ba160149..3b643c16 100644 --- a/vcg/complex/algorithms/smooth_field.h +++ b/vcg/complex/algorithms/smooth_field.h @@ -5,8 +5,13 @@ #include #include #include "mesh_to_matrix.h" +#include #include -#include "NRosyField.h" +#include +#include +#include + +//#include "NRosyField.h" using namespace std; #define Delta 10e-6 @@ -831,7 +836,7 @@ public: template -class FieldSmoother0 +class FieldSmoother { typedef typename MeshType::FaceType FaceType; typedef typename MeshType::VertexType VertexType; @@ -952,7 +957,6 @@ public: static void InitByCurvature(MeshType & mesh) { - vcg::tri::UpdateCurvatureFitting::computeCurvature(mesh); vcg::tri::CrossField::SetFaceCrossVectorFromVert(mesh); InitQualityByAnisotropyDir(mesh);