Signature
stock Float:xs_vec_len(const Float:vec[]){ return xs_sqrt(vec[0]*vec[0] + vec[1]*vec[1] + vec[2]*vec[2]);}
Description
Computes the length of a vector.
Parameters
- vec — The vector to compute the length of.
Returns
The length of the input vector.