should scale1ms ‣
const expected = [
0, 2, 4, 0,
12, 15, 18, 0,
8, 9, 10, 0,
];
testMat3WithAndWithoutDest((newDst) => {
return mat3.scale(m, [2, 3], newDst);
}, expected);
should scale 3D0ms ‣
const expected = [
0, 2, 4, 0,
12, 15, 18, 0,
32, 36, 40, 0,
];
testMat3WithAndWithoutDest((newDst) => {
return mat3.scale3D(m, [2, 3, 4], newDst);
}, expected);