GraphMine

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

distanceTo

infix fun distanceTo(that: IntVector3): Double

Calculates the distance between this and that.

Use distanceSquared if only comparison is needed for less computation.