DotRecastNetSim/src/DotRecast.Detour/BVItemZComparer.cs

18 lines
386 B
C#
Raw Normal View History

2023-05-07 11:55:13 +03:00
using System.Collections.Generic;
namespace DotRecast.Detour
{
2023-08-05 02:31:43 +03:00
public class BVItemZComparer : IComparer<BVItem>
2023-05-07 11:55:13 +03:00
{
2023-08-05 02:42:21 +03:00
public static readonly BVItemZComparer Shared = new BVItemZComparer();
private BVItemZComparer()
{
}
2023-05-07 11:55:13 +03:00
public int Compare(BVItem a, BVItem b)
{
return a.bmin[2].CompareTo(b.bmin[2]);
}
}
}