AStar.getClosestPoint

Returns the id of the closest point to to_position. Returns -1 if there are no points in the points pool.

struct AStar
@nogc nothrow const
long
getClosestPoint
(
in Vector3 to_position
)

Meta