forked from mirror/DotRecast
[Upstream] Increase epsilon in detour segment polygon intersection test
9b45fe8a8df8d8c31bbde63611b0b4a1982f63a0
This commit is contained in:
parent
5d5637143b
commit
3ebee73112
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue