distTo

infix fun Vector2d.distTo(other: Vector2d): Double

Calculate the distance between two vectors.

Return

the distance between the two vectors

Parameters

other

the other vector