fixed CrossField::IsSingularByCross() function

This commit is contained in:
Luigi Malomo 2012-11-12 12:38:20 +00:00
parent fdab50f31f
commit 8dc138cf27
1 changed files with 4 additions and 2 deletions

View File

@ -498,8 +498,10 @@ namespace vcg {
if (v.IsB())return false;
std::vector<FaceType*> faces;
//SortedFaces(v,faces);
vcg::face::VFOrderedStarVF_FF(v,faces);
std::vector<int> edges;
//SortedFaces(v,faces);
vcg::face::Pos<FaceType> pos(v.VFp(), v.VFi());
vcg::face::VFOrderedStarFF(pos, faces, edges);
missmatch=0;
for (unsigned int i=0;i<faces.size();i++)