phaser/wip/vec2/PerpDot.js
2018-01-09 22:12:16 +00:00

5 lines
79 B
JavaScript

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