From 01c068129179e4c4e79e8f7f25aaef2f49e4030a Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Sat, 30 Mar 2013 15:31:57 +0000 Subject: [PATCH] added #include --- vcg/complex/algorithms/update/normal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/update/normal.h b/vcg/complex/algorithms/update/normal.h index 52dee354..177edcba 100644 --- a/vcg/complex/algorithms/update/normal.h +++ b/vcg/complex/algorithms/update/normal.h @@ -26,6 +26,7 @@ #include #include +#include namespace vcg { namespace tri { @@ -160,7 +161,8 @@ static void PerFace(ComputeMeshType &m) { if(!HasPerFaceNormal(m)) throw vcg::MissingComponentException("PerFaceNormal"); for(FaceIterator 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 by averaging the current per-face normals.