/vector2/dot
stdCalculates a dot product of the given vectors. Returns a scalar.
Type signature
([a, b]: [number, number], [c, d]: [number, number]) => number
Questions
- How to compute a dot product of two vectors?
([a, b]: [number, number], [c, d]: [number, number]) => number