• passes: 1
  • failures: 0
  • duration: 0.01s
  • mat4

    • using function Float64Array() { [native code] }

      • should make z rotation matrix0ms ‣

        const angle = 1.23;
        const c = Math.cos(angle);
        const s = Math.sin(angle);
        const expected = [
          c, s, 0, 0,
         -s, c, 0, 0,
          0, 0, 1, 0,
          0, 0, 0, 1,
        ];
        testMat4WithAndWithoutDest((newDst) => {
          return mat4.rotationZ(angle, newDst);
        }, expected);