globe.gl 2.35.0 → 2.35.1

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/globe.gl.mjs CHANGED
@@ -515,7 +515,7 @@ var globe = Kapsule({
515
515
  var globeR = state.globe.getGlobeRadius();
516
516
  var controls = state.renderObjs.controls();
517
517
  state.renderObjs.camera().near = 0.05; // less will start causing depth z-fighting issues
518
- controls.minDistance = globeR * (1 + Math.max(1e-5, state.renderObjs.camera().near * 0.012)); // just above the surface, as much as camera near plane permits
518
+ controls.minDistance = globeR + Math.max(0.001, state.renderObjs.camera().near * 1.1); // just above the surface, as much as camera near plane permits
519
519
  controls.maxDistance = globeR * 100;
520
520
  controls.enablePan = false;
521
521
  controls.enableDamping = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globe.gl",
3
- "version": "2.35.0",
3
+ "version": "2.35.1",
4
4
  "description": "UI component for Globe Data Visualization using ThreeJS/WebGL",
5
5
  "type": "module",
6
6
  "unpkg": "dist/globe.gl.min.js",