vec3:__len

Returns the length of the vector.

length = vec3:__len(v)

Arguments

NameTypeDescription
vvec3The vector.

Returns

NameTypeDescription
lengthnumberThe length of the vector.

See also