forked from mirror/DotRecast
24 lines
653 B
C#
24 lines
653 B
C#
using DotRecast.Core.Numerics;
|
|
|
|
namespace DotRecast.Detour
|
|
{
|
|
public class DtQueryEmptyFilter : IDtQueryFilter
|
|
{
|
|
public static readonly DtQueryEmptyFilter Shared = new DtQueryEmptyFilter();
|
|
|
|
private DtQueryEmptyFilter()
|
|
{
|
|
}
|
|
|
|
public bool PassFilter(long refs, DtMeshTile tile, DtPoly poly)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public float GetCost(RcVec3f pa, RcVec3f pb, long prevRef, DtMeshTile prevTile, DtPoly prevPoly, long curRef,
|
|
DtMeshTile curTile, DtPoly curPoly, long nextRef, DtMeshTile nextTile, DtPoly nextPoly)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
} |