const angle = 1.23; // switch to Array type to keep precision high for expected const expected = mat4.multiply(m, mat4.rotationZ(angle, new Array(16))); testMat4WithAndWithoutDest((newDst) => { return mat4.rotateZ(m, angle, newDst); }, expected);