DoubleArea vs Area discrepancy fixed
This commit is contained in:
parent
46790e61cd
commit
c35b1c84ff
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue