diff --git a/src/DotRecast.Recast/Geom/ChunkyTriMesh.cs b/src/DotRecast.Recast/Geom/ChunkyTriMesh.cs index 0fc687a..3b9e130 100644 --- a/src/DotRecast.Recast/Geom/ChunkyTriMesh.cs +++ b/src/DotRecast.Recast/Geom/ChunkyTriMesh.cs @@ -34,7 +34,7 @@ namespace DotRecast.Recast.Geom private class CompareItemX : IComparer { - public int Compare(BoundsItem? a, BoundsItem? b) + public int Compare(BoundsItem a, BoundsItem b) { return a.bmin[0].CompareTo(b.bmin[0]); } @@ -42,7 +42,7 @@ namespace DotRecast.Recast.Geom private class CompareItemY : IComparer { - public int Compare(BoundsItem? a, BoundsItem? b) + public int Compare(BoundsItem a, BoundsItem b) { return a.bmin[1].CompareTo(b.bmin[1]); }