You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like setting detailSampleDist to 0 but also calling rcBuildPolyMeshDetail is accepted.
But when detailSampleDist is 0, nhull in buildPolyDetail is 0, thus making left = 1 and right = -1 in triangulateHull, which then caused an infinite loop here
I'm not very familiar with the code logic here, should it be changed to next(left, nhull) < right ?
The text was updated successfully, but these errors were encountered:
Looks like setting
detailSampleDist
to 0 but also callingrcBuildPolyMeshDetail
is accepted.But when
detailSampleDist
is 0,nhull
inbuildPolyDetail
is 0, thus makingleft
= 1 andright
= -1 intriangulateHull
, which then caused an infinite loop hereI'm not very familiar with the code logic here, should it be changed to
next(left, nhull) < right
?The text was updated successfully, but these errors were encountered: