diff --git a/vcg/complex/algorithms/parametrization/distortion.h b/vcg/complex/algorithms/parametrization/distortion.h index 95a980de..c4dc65ba 100644 --- a/vcg/complex/algorithms/parametrization/distortion.h +++ b/vcg/complex/algorithms/parametrization/distortion.h @@ -385,7 +385,7 @@ public: ///return the number of folded faces - static bool Folded(const FaceType *f) + static bool IsFolded(const FaceType *f) { ScalarType areaUV=AreaUV(f); /*if (areaUV<0) @@ -393,32 +393,30 @@ public: return (areaUV<0); } - static int Folded(const MeshType &m) + static int FoldedNum(const MeshType &m) { int folded=0; - for (size_t i=0;i(m.fn)/2); } static ScalarType MeshAngleDistortion(const MeshType &m) { ScalarType UDdist=0; - for (size_t i=0;i