reversed the order of VFOrderedStar when it has found a border.. in order to be coherent with the others

This commit is contained in:
nico 2020-11-24 17:17:10 +10:00
parent 0ebdeb2bc9
commit dcb7182d3f
1 changed files with 2 additions and 0 deletions

View File

@ -1175,6 +1175,8 @@ void VFOrderedStarFF(const Pos<FaceType> &startPos,
assert((posVec.size()%2)==0);
posVec.erase(posVec.begin()+firstBorderInd+1+halfSize, posVec.end());
posVec.erase(posVec.begin(),posVec.begin()+firstBorderInd+1);
//reverse because canceled on ccw dir
std::reverse(posVec.begin(), posVec.end());
assert(posVec.size()==halfSize);
}
}