should multiply by scalar0ms ‣
const expected = [4, 6];
testV2WithAndWithoutDest((a, newDst) => {
return vec2.mulScalar(a, 2, newDst);
}, expected, [2, 3]);
should multiply0ms ‣
const expected = [8, 18];
testV2WithAndWithoutDest((a, b, newDst) => {
return vec2.multiply(a, b, newDst);
}, expected, [2, 3], [4, 6]);
should mul0ms ‣
const expected = [8, 18];
testV2WithAndWithoutDest((a, b, newDst) => {
return vec2.mul(a, b, newDst);
}, expected, [2, 3], [4, 6]);