distance

fun distance(x: Int, y: Int, z: Int): Double

Calculates the distance between this vector and the given x, y, and z values.

Return

the distance

Parameters

x

the X distance

y

the Y distance

z

the Z distance


fun distance(other: Vec3i): Double
fun distance(other: Vec3d): Double

Calculates the distance between this vector and the given other vector.

Return

the distance

Parameters

other

the other vector