From c74af00fdfb109a63be9e04941653248dc2f66e0 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Fri, 4 Jul 2014 13:29:24 +0000 Subject: [PATCH] minor modification --- vcg/complex/algorithms/smooth_field.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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);