Vec4:distance
Returns the distance to another vector.
distance = Vec4:distance(u)
Arguments
Name | Type | Description |
u | Vec4 | The vector to measure the distance to. |
Returns
Name | Type | Description |
distance | number | The distance to u .
|
See also
Vec4:length
Vec4