DotRecastNetSim/src/DotRecast.Detour/NoOpPolygonByCircleConstrai...

18 lines
452 B
C#

using DotRecast.Core;
namespace DotRecast.Detour
{
public class NoOpPolygonByCircleConstraint : IPolygonByCircleConstraint
{
public static readonly NoOpPolygonByCircleConstraint Noop = new NoOpPolygonByCircleConstraint();
private NoOpPolygonByCircleConstraint()
{
}
public float[] Aply(float[] polyVerts, RcVec3f circleCenter, float radius)
{
return polyVerts;
}
}
}