GraphMine

util-math / io.github.sof3.graphmine.util.math / Vector3 / distanceTo

distanceTo

infix fun distanceTo(that: Vector3): Double

Calculates the distance between this and that.

Use distanceSquared if only comparison is needed for less computation.