squaredDistanceTo

fun squaredDistanceTo(other: Vector3): Double

Calculates the squared Euclidean distance to other.