mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-14 14:28:30 +00:00
When the detail mesh sampling sees an unset height it previously tried to recover by looking for heights of neighbors. When the heightfield was not eroded this recovery would fail since the contour simplification could mean that the nearest valid cell was further away than a neighbor. We now walk adjacent cells in a spiral to find a height and do this depending on the max simplification error. Fix #153
30 KiB
30 KiB