Vec3:length
EditReturns the length of the vector.
length = Vec3:length()
Arguments
None
Returns
Name | Type | Description |
length | number | The length of the vector. |
Notes
The length is equivalent to this:
math.sqrt(v.x * v.x + v.y * v.y + v.z * v.z)
See also
Vec3:normalize
Vec3:distance
Vec3