Core/Recast: Updated to latest recast version.

This commit is contained in:
hondacrx
2021-02-18 12:31:16 -05:00
parent 6c121e7ef5
commit b725a7b760
5 changed files with 74 additions and 46 deletions
@@ -358,8 +358,8 @@ public static partial class Detour
// Find sub triangle weighted by area.
float thr = s * areasum;
float acc = 0.0f;
float u = 0.0f;
int tri = 0;
float u = 1.0f;
int tri = npts - 1;
for (int i = 2; i < npts; i++)
{
float dacc = areas[i];