@galacean/engine-xr-webxr 1.2.0-beta.1 → 1.2.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -3685,11 +3685,11 @@
3685
3685
  var unit = xx + yy + zz + ww;
3686
3686
  var test = 2 * (x * w - y * z);
3687
3687
  if (test > (1 - MathUtil.zeroTolerance) * unit) {
3688
- out._x = Math.atan2(2.0 * (w * y - x * z), zz + ww - yy - zz);
3688
+ out._x = Math.atan2(2.0 * (w * y - x * z), xx + ww - yy - zz);
3689
3689
  out._y = Math.PI / 2;
3690
3690
  out._z = 0;
3691
3691
  } else if (test < -(1 - MathUtil.zeroTolerance) * unit) {
3692
- out._x = Math.atan2(2.0 * (w * y - x * z), zz + ww - yy - zz);
3692
+ out._x = Math.atan2(2.0 * (w * y - x * z), xx + ww - yy - zz);
3693
3693
  out._y = -Math.PI / 2;
3694
3694
  out._z = 0;
3695
3695
  } else {
@@ -6545,3 +6545,4 @@
6545
6545
  Object.defineProperty(exports, '__esModule', { value: true });
6546
6546
 
6547
6547
  }));
6548
+ //# sourceMappingURL=browser.js.map