Curve2D.getClosestPoint

Returns the closest baked point (in curve's local space) to to_point. to_point must be in this curve's local space.

struct Curve2D
@nogc nothrow const
Vector2
getClosestPoint
(
in Vector2 to_point
)

Meta