correct 1 bug in VertexBorderCorner function
This commit is contained in:
parent
bcd4124282
commit
c918b9097c
|
@ -491,7 +491,8 @@ static void VertexBorderCorner(MeshType & m, VertexSampler &ps, float angleRad)
|
||||||
|
|
||||||
for(VertexIterator vi=m.vert.begin();vi!=m.vert.end();++vi)
|
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);
|
ps.AddVert(*vi);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue