2
0
Fork 0
mirror of https://github.com/photonstorm/phaser synced 2025-01-02 08:18:47 +00:00
phaser/v3/merge/vec2/PerpDot.js
2017-08-08 17:16:23 +01:00

5 lines
79 B
JavaScript

export default function (a, b) {
return (a[0] * b[1]) - (a[1] * b[0]);
}