static Vec2D subtract(Vec2D o, Vec2D a, Vec2D b) { o[0] = a[0] - b[0]; o[1] = a[1] - b[1]; return o; }