Navigation2D.getClosestPoint

Returns the navigation point closest to the point given. Points are in local coordinate space.

struct Navigation2D
@nogc nothrow
Vector2
getClosestPoint
(
in Vector2 to_point
)

Meta