closest Point
A function to find the closes vector2 (relative to a reference vector2) in an array of vector2s
Return
The closest vector2
Parameters
reference
The reference vector2
points
The array of vector2s
A function to find the closes vector2 (relative to a reference vector2) in an array of vector2s
The closest vector2
The reference vector2
The array of vector2s