public static getClosestPointOnPolygonToPoint ( Vector2 points, Vector2 point, float &distanceSquared, Vector2 &edgeNormal ) : Vector2 | ||
points | Vector2 | |
point | Vector2 | Point. |
distanceSquared | float | Distance squared. |
edgeNormal | Vector2 | Edge normal. |
return | Vector2 |