Calculates the Euclidean distance between two 2D points (ignoring the y-axis).
The position of the first point.
The position of the second point.
The Euclidean distance between the two points in 2D space.
Calculates the Euclidean distance between two 2D points (ignoring the y-axis).