squaredDistanceTo

open override fun squaredDistanceTo(other: Vector2): Double(source)

Calculates the squared Euclidean distance to other.