Vector.dot(a, b);No description
Arguments
aThe first vectorbThe second vectorReturns
numberThe 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