Signature
stock Float:xs_vec_dot(const Float:vec1[], const Float:vec2[]){ return vec1[0]*vec2[0] + vec1[1]*vec2[1] + vec1[2]*vec2[2];}
Description
Computes the dot product of two vectors.
Parameters
- vec1 — The first vector operand of the dot operation.
- vec2 — The second vector operand of the dot operation.
Returns
The dot product of two input vectors.