should rotateX1ms ‣
const tests = [
{ angle: 0, expected: [1, 2, 3, 4], },
{ angle: Math.PI, expected: [4, 3, -2, -1], },
{ angle: -Math.PI, expected: [-4, -3, 2, 1], },
];
for (const {angle, expected} of tests) {
testQuatWithAndWithoutDest((a, dst) => {
return quat.rotateX([1, 2, 3, 4], a, dst);
}, expected, angle);
}