diff --git a/vcg/complex/algorithms/update/normal.h b/vcg/complex/algorithms/update/normal.h index d682f007..808222e8 100644 --- a/vcg/complex/algorithms/update/normal.h +++ b/vcg/complex/algorithms/update/normal.h @@ -26,9 +26,10 @@ #include #include +#include +#include #include - namespace vcg { namespace tri { @@ -85,7 +86,7 @@ static void PerFace(ComputeMeshType &m) if( !m.HasPerFaceNormal()) return; FaceIterator f; for(f=m.face.begin();f!=m.face.end();++f) - if( !(*f).IsD() ) face::ComputeNormal(*f); + if( !(*f).IsD() ) face::ComputeNormal(*f); } /// \brief Calculates the vertex normal. Exploiting or current face normals.