DoubleArea vs Area discrepancy fixed

This commit is contained in:
ganovelli 2011-05-18 11:38:42 +00:00
parent 46790e61cd
commit c35b1c84ff
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ static void FaceArea(MeshType &m)
{ {
FaceIterator fi; FaceIterator fi;
for(fi=m.face.begin();fi!=m.face.end();++fi) for(fi=m.face.begin();fi!=m.face.end();++fi)
(*fi).Q()=vcg::DoubleArea(*fi); (*fi).Q()=vcg::DoubleArea(*fi)/2;
} }
static void VertexFromGaussianCurvature(MeshType &m) static void VertexFromGaussianCurvature(MeshType &m)