mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-18 13:56:00 +00:00
Layer progress: Fixed reg building with multiple areas. Added contour generation.
This commit is contained in:
@@ -340,7 +340,7 @@ static void simplifyContour(rcIntArray& points, rcIntArray& simplified,
|
||||
endi = ai;
|
||||
}
|
||||
|
||||
// Tessellate only outer edges oredges between areas.
|
||||
// Tessellate only outer edges or edges between areas.
|
||||
if ((points[ci*4+3] & RC_CONTOUR_REG_MASK) == 0 ||
|
||||
(points[ci*4+3] & RC_AREA_BORDER))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user