Vector.dot(v1, v2)
Static function. Calculates the dot product of two vectors. Is meant to be called “static” i.e. Vector.dot(v1, v2);
Type: function
Parameter(s):
- v1 {Vector}:
The first vector.
- v2 {Vector}:
The second vector.
Returns:
-
{Number}:
The dot product.