Get the vector going from b to a.
Start coordinates
End coordinates
Target for storing the results (Default: a)
Vector going from a to b
dir([2, 1], [3, 0], new Array(2)); // Returns: [1, -1] Copy
dir([2, 1], [3, 0], new Array(2)); // Returns: [1, -1]
Generated using TypeDoc
Get the vector going from b to a.