1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Recast: Update to upstream commit 5a870d4 (2022)

(cherry picked from commit 4635f24322)
This commit is contained in:
Rémi Verschelde
2022-05-17 22:59:40 +02:00
parent 723a65dd75
commit 6be616bd16
5 changed files with 51 additions and 30 deletions

View File

@@ -921,8 +921,8 @@ bool rcBuildContours(rcContext* ctx, rcCompactHeightfield& chf,
continue;
const unsigned char area = chf.areas[i];
verts.resize(0);
simplified.resize(0);
verts.clear();
simplified.clear();
ctx->startTimer(RC_TIMER_BUILD_CONTOURS_TRACE);
walkContour(x, y, i, chf, flags, verts);