Some vectors math. Click to set anchor point.
The following shows a very basic vectors example.
let v1 = new Shaku.utils.Vector2(15, 52);
let v2 = new Shaku.utils.Vector2(50, 102);
let distance = v1.distanceTo(v2);
// Vector2 class has a lot of methods! check out the full docs for more!