@openglobus/openglobus-react 0.4.0 → 0.4.2

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/index.js CHANGED
@@ -12274,7 +12274,7 @@ Object.freeze(Object.defineProperty({ __proto__: null, AtmosphereConfig: class e
12274
12274
  if (o.eye = o.eye.add(this.vel.scaleTo(this.dt)), o.isOrthographic) {
12275
12275
  let t = e.distance(this._wheelPos), i = o.eye.distance(this._wheelPos) / t, r = o.focusDistance;
12276
12276
  o.focusDistance = o.focusDistance * i;
12277
- let s = o.focusDistance / i - r;
12277
+ let s = o.focusDistance - r * i;
12278
12278
  o.eye = o.eye.add(o.getForward().scale(s));
12279
12279
  }
12280
12280
  o.update();