scax-engine 0.2.0-beta.2 → 0.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.
@@ -9625,8 +9625,8 @@ class SCAXEngine {
9625
9625
  const orthogonalTabo = (taboAxis + 90) % 180;
9626
9626
  const r = Math.hypot(j0, j45);
9627
9627
  return [
9628
- { tabo: taboAxis, d: m - r },
9629
- { tabo: orthogonalTabo, d: m + r },
9628
+ { tabo: taboAxis, d: m + r },
9629
+ { tabo: orthogonalTabo, d: m - r },
9630
9630
  ].sort((a, b) => a.d - b.d);
9631
9631
  }
9632
9632
  calculateEyeRotationByPrism(prism) {
@@ -9623,8 +9623,8 @@ class SCAXEngine {
9623
9623
  const orthogonalTabo = (taboAxis + 90) % 180;
9624
9624
  const r = Math.hypot(j0, j45);
9625
9625
  return [
9626
- { tabo: taboAxis, d: m - r },
9627
- { tabo: orthogonalTabo, d: m + r },
9626
+ { tabo: taboAxis, d: m + r },
9627
+ { tabo: orthogonalTabo, d: m - r },
9628
9628
  ].sort((a, b) => a.d - b.d);
9629
9629
  }
9630
9630
  calculateEyeRotationByPrism(prism) {
@@ -9629,8 +9629,8 @@
9629
9629
  const orthogonalTabo = (taboAxis + 90) % 180;
9630
9630
  const r = Math.hypot(j0, j45);
9631
9631
  return [
9632
- { tabo: taboAxis, d: m - r },
9633
- { tabo: orthogonalTabo, d: m + r },
9632
+ { tabo: taboAxis, d: m + r },
9633
+ { tabo: orthogonalTabo, d: m - r },
9634
9634
  ].sort((a, b) => a.d - b.d);
9635
9635
  }
9636
9636
  calculateEyeRotationByPrism(prism) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scax-engine",
3
- "version": "0.2.0-beta.2",
3
+ "version": "0.2.0-beta.3",
4
4
  "description": "Optical calculation engine for an eye model, with ESM, CJS, and UMD builds.",
5
5
  "main": "./dist/scax-engine.cjs",
6
6
  "module": "./dist/scax-engine.js",