Merge branch 'devel' of github.com:cnr-isti-vclab/vcglib into devel

This commit is contained in:
nico 2018-01-08 15:59:20 +11:00
commit fab7286ff2
1 changed files with 4 additions and 4 deletions

View File

@ -397,9 +397,9 @@ public:
{
int folded=0;
ForEachFace(m, [&](const FaceType &f){
ForEachFace(m, std::function<void (const FaceType&)>([&folded](const FaceType &f){
if(IsFolded(&f)) folded++;
});
}));
return folded;
}
@ -413,9 +413,9 @@ public:
static ScalarType MeshAngleDistortion(const MeshType &m)
{
ScalarType UDdist=0;
ForEachFace(m, [&](const FaceType &f){
ForEachFace(m, std::function<void (const FaceType&)>([&UDdist](const FaceType &f){
UDdist += AngleDistortion(f)*Area3D(f);
});
}));
return UDdist;
}