DotRecastNetSim/src/DotRecast.Detour/BVItemXComparer.cs

18 lines
383 B
C#

using System.Collections.Generic;
namespace DotRecast.Detour
{
public class BVItemXComparer : IComparer<BVItem>
{
public static readonly BVItemXComparer Shared = new BVItemXComparer();
private BVItemXComparer()
{
}
public int Compare(BVItem a, BVItem b)
{
return a.bmin[0].CompareTo(b.bmin[0]);
}
}
}