Vector.dot(a, b);
No description
Arguments
a
The first vectorb
The second vectorReturns
number
The dot productlocal a = createVector(3, 5);
local b = createVector(1, 3);
-- From prototype
print(a:dot(b)); -- 18.0
-- With static method
print(Vector.dot(a, b)); -- 18.0
-- With concat syntax
print(a .. b); -- 18.0