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

18 lines
452 B
C#
Raw Normal View History

2023-05-07 12:10:20 +03:00
using DotRecast.Core;
namespace DotRecast.Detour
{
public class NoOpPolygonByCircleConstraint : IPolygonByCircleConstraint
{
2023-06-10 15:57:39 +03:00
public static readonly NoOpPolygonByCircleConstraint Noop = new NoOpPolygonByCircleConstraint();
private NoOpPolygonByCircleConstraint()
{
}
public float[] Aply(float[] polyVerts, RcVec3f circleCenter, float radius)
2023-05-07 12:10:20 +03:00
{
return polyVerts;
}
}
}