should return the midpoint1ms ‣
const expected = [5, 5];
testV2WithAndWithoutDest(
(a, b, newDst) => vec2.midpoint(a, b, newDst),
expected,
[0, 0], [10, 10]
);
should handle negatives0ms ‣
const expected = [10, 10];
testV2WithAndWithoutDest(
(a, b, newDst) => vec2.midpoint(a, b, newDst),
expected,
[-10, -20], [30, 40]);