const expected = [ 0, 1, 2, 0, 4, 5, 6, 0, 8 + 0 * 2 + 4 * 3, 9 + 1 * 2 + 5 * 3, 10 + 2 * 2 + 6 * 3, 0, ]; testMat3WithAndWithoutDest((newDst) => { return mat3.translate(m, [2, 3], newDst); }, expected);