From 62d23e34ab8251fa009a8dd3f17dbea26de9e810 Mon Sep 17 00:00:00 2001 From: ikpil Date: Wed, 5 Apr 2023 17:03:26 +0900 Subject: [PATCH] bufix - imax - imin --- src/DotRecast.Recast.Demo/Geom/ChunkyTriMesh.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotRecast.Recast.Demo/Geom/ChunkyTriMesh.cs b/src/DotRecast.Recast.Demo/Geom/ChunkyTriMesh.cs index e680b52..c8b9778 100644 --- a/src/DotRecast.Recast.Demo/Geom/ChunkyTriMesh.cs +++ b/src/DotRecast.Recast.Demo/Geom/ChunkyTriMesh.cs @@ -126,7 +126,7 @@ public class ChunkyTriMesh if (axis == 0) { - Array.Sort(items, imin, imax - imax, new CompareItemX()); + Array.Sort(items, imin, imax - imin, new CompareItemX()); // Sort along x-axis } else if (axis == 1)