Vec4:distance

Returns the distance to another vector.

distance = Vec4:distance(u)

Arguments

NameTypeDescription
uVec4The vector to measure the distance to.

Returns

NameTypeDescription
distancenumberThe distance to u.

See also