[Upstream] Increase epsilon in detour segment polygon intersection test

9b45fe8a8df8d8c31bbde63611b0b4a1982f63a0
This commit is contained in:
ikpil 2023-03-25 12:04:38 +09:00
parent 5d5637143b
commit 3ebee73112
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,7 @@ namespace DotRecast.Detour
public static IntersectResult intersectSegmentPoly2D(float[] p0, float[] p1, float[] verts, int nverts)
{
IntersectResult result = new IntersectResult();
float EPS = 0.00000001f;
float EPS = 0.000001f;
float[] dir = vSub(p1, p0);
VectorPtr p0v = new VectorPtr(p0);