Calculate the dot product of two vectors.
Vector 1.
Vector 2.
dot({ x: 1, y: 2 }, { x: 3, y: 4 }); // -> 11 Copy
dot({ x: 1, y: 2 }, { x: 3, y: 4 }); // -> 11
Calculate the dot product of two vectors.