distanceTo

fun distanceTo(vector: Vec3): Double

Computes the distance from this vector to another vector.

Return

the distance between the vectors

Parameters

vector

The vector to compute the distance to