From a48f8f4de9c0fc8251fdbb90a09be9e64fc6a19e Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 28 Jun 2015 19:51:59 +0200 Subject: Core/Dependencies: Update recast Update recast to https://github.com/memononen/recastnavigation/commit/1dd5cf1883d61e723fef3d4957cf758c50e7a52b Fix 2 warnings. These changes have no effect on MMAPs and it's not needed to re-extact them. (cherry picked from commit dfa556aaa2fd60f881845d381f71294b945396f6) Conflicts: dep/PackageList.txt --- dep/recastnavigation/Recast/Source/RecastContour.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep/recastnavigation/Recast/Source/RecastContour.cpp') diff --git a/dep/recastnavigation/Recast/Source/RecastContour.cpp b/dep/recastnavigation/Recast/Source/RecastContour.cpp index 8aa9d1d92a1..a7be6691f3e 100644 --- a/dep/recastnavigation/Recast/Source/RecastContour.cpp +++ b/dep/recastnavigation/Recast/Source/RecastContour.cpp @@ -464,7 +464,7 @@ static int calcAreaOfPolygon2D(const int* verts, const int nverts) } // TODO: these are the same as in RecastMesh.cpp, consider using the same. - +// Last time I checked the if version got compiled using cmov, which was a lot faster than module (with idiv). inline int prev(int i, int n) { return i-1 >= 0 ? i-1 : n-1; } inline int next(int i, int n) { return i+1 < n ? i+1 : 0; } -- cgit v1.2.3