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()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2023-06-03 15:47:26 +03:00
|
|
|
|
public float[] Aply(float[] polyVerts, RcVec3f circleCenter, float radius)
|
2023-05-07 12:10:20 +03:00
|
|
|
|
{
|
|
|
|
|
return polyVerts;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|