DotRecastNetSim/src/DotRecast.Detour/BVItemZComparer.cs

18 lines
386 B
C#

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