const angle = 1.23; // switch to Array type to keep precision high for expected const expected = mat4.multiply(m, mat4.rotationX(angle, [])); testMat4WithAndWithoutDest((newDst) => { return mat4.rotateX(m, angle, newDst); }, expected);