From fe305e6fd150b92dbf02d9bd66a91303373edc88 Mon Sep 17 00:00:00 2001 From: ikpil Date: Thu, 12 Oct 2023 23:14:17 +0900 Subject: [PATCH] refactor: const float EPSILON --- src/DotRecast.Recast/Geom/RcChunkyTriMesh.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;