Description
Dot product of two vectors.
Note
Arma 3: In Arma 3 use vectorDotProduct.
Syntax
[vector1, vector2] call BIS_fnc_dotProduct
Parameters:
Returns: Number
Examples
Example 1
[[1,2,3], [1,2,3]] call BIS_fnc_dotProduct; // returns: 1*1 + 2*2 + 3*3 = 14
Example 2
[[1,2,3,4], [1,2,3,4]] call BIS_fnc_dotProduct; // returns 1*1 + 2*2 + 3*3 + 4*4 = 30