solved minor compilation issues
This commit is contained in:
parent
677295f1a3
commit
3bd4213984
|
@ -560,16 +560,16 @@ namespace vcg {
|
||||||
///check that is on border..
|
///check that is on border..
|
||||||
if (v.IsB())return false;
|
if (v.IsB())return false;
|
||||||
|
|
||||||
std::vector<face::Pos<FaceType>> posVec;
|
std::vector<face::Pos<FaceType> > posVec;
|
||||||
//SortedFaces(v,faces);
|
//SortedFaces(v,faces);
|
||||||
face::Pos<FaceType> pos(v.cVFp(), v.cVFi());
|
face::Pos<FaceType> pos(v.cVFp(), v.cVFi());
|
||||||
vcg::face::VFOrderedStarFF(pos, posVec);
|
vcg::face::VFOrderedStarFF(pos, posVec);
|
||||||
|
|
||||||
missmatch=0;
|
missmatch=0;
|
||||||
for (unsigned int i=0;i<faces.size();i++)
|
for (unsigned int i=0;i<posVec.size();i++)
|
||||||
{
|
{
|
||||||
FaceType *curr_f=posVec[i].F();
|
FaceType *curr_f=posVec[i].F();
|
||||||
FaceType *next_f=posVec[(i+1)%faces.size()].F();
|
FaceType *next_f=posVec[(i+1)%posVec.size()].F();
|
||||||
|
|
||||||
///find the current missmatch
|
///find the current missmatch
|
||||||
missmatch+=MissMatchByCross(*curr_f,*next_f);
|
missmatch+=MissMatchByCross(*curr_f,*next_f);
|
||||||
|
|
Loading…
Reference in New Issue