mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-06 08:55:43 +00:00
Added option to tesselate edges between areas. Fixed bug in orphan contour merging, which could create overlapping contour.
This commit is contained in:
@@ -983,7 +983,7 @@ struct rcSweepSpan
|
||||
};
|
||||
|
||||
bool rcBuildRegionsMonotone(rcCompactHeightfield& chf,
|
||||
int borderSize, int minRegionSize, int mergeRegionSize)
|
||||
const int borderSize, const int minRegionSize, const int mergeRegionSize)
|
||||
{
|
||||
rcTimeVal startTime = rcGetPerformanceTimer();
|
||||
|
||||
@@ -1134,7 +1134,7 @@ bool rcBuildRegionsMonotone(rcCompactHeightfield& chf,
|
||||
}
|
||||
|
||||
bool rcBuildRegions(rcCompactHeightfield& chf,
|
||||
int borderSize, int minRegionSize, int mergeRegionSize)
|
||||
const int borderSize, const int minRegionSize, const int mergeRegionSize)
|
||||
{
|
||||
rcTimeVal startTime = rcGetPerformanceTimer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user