correct 1 bug in VertexBorderCorner function

This commit is contained in:
Nico Pietroni 2014-06-22 12:28:56 +00:00
parent bcd4124282
commit c918b9097c
1 changed files with 2 additions and 1 deletions

View File

@ -491,7 +491,8 @@ static void VertexBorderCorner(MeshType & m, VertexSampler &ps, float angleRad)
for(VertexIterator vi=m.vert.begin();vi!=m.vert.end();++vi)
{
if(angleSumH[vi]<angleRad && vi->IsB())
if((angleSumH[vi]<angleRad && vi->IsB())||
(angleSumH[vi]>(360-angleRad) && vi->IsB()))
ps.AddVert(*vi);
}