should uniformly scale1ms ‣
const expected = [
0, 2, 4, 0,
8, 10, 12, 0,
8, 9, 10, 0,
];
testMat3WithAndWithoutDest((newDst) => {
return mat3.uniformScale(m, 2, newDst);
}, expected);
should uniformly scale 3D0ms ‣
const expected = [
0, 2, 4, 0,
8, 10, 12, 0,
16, 18, 20, 0,
];
testMat3WithAndWithoutDest((newDst) => {
return mat3.uniformScale3D(m, 2, newDst);
}, expected);