Vec3:distance
EditReturns the distance to another vector.
Arguments
Name | Type | Description |
u | Vec3 | The vector to measure the distance to. |
Returns
Name | Type | Description |
distance | number |
The distance to u .
|
Arguments
Name | Type | Description |
x | number | A value of x component to measure distance to. |
y | number | A value of y component to measure distance to. |
z | number | A value of z component to measure distance to. |
Returns
Name | Type | Description |
distance | number |
The distance to u .
|