diff --git a/src/DotRecast.Recast/Geom/RcChunkyTriMesh.cs b/src/DotRecast.Recast/Geom/RcChunkyTriMesh.cs index d0f3452..50358cf 100644 --- a/src/DotRecast.Recast/Geom/RcChunkyTriMesh.cs +++ b/src/DotRecast.Recast/Geom/RcChunkyTriMesh.cs @@ -253,7 +253,7 @@ namespace DotRecast.Recast.Geom private bool CheckOverlapSegment(float[] p, float[] q, RcVec2f bmin, RcVec2f bmax) { - float EPSILON = 1e-6f; + const float EPSILON = 1e-6f; float tmin = 0; float tmax = 1;