mapspinner 0.1.27 → 0.1.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapspinner",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "WebGL2 Earth-scale terrain rendering SDK for interactive globe applications",
5
5
  "main": "src/index.js",
6
6
  "exports": {
@@ -461,7 +461,7 @@ export async function initMapspinnerPlanet(gl, opts = {}) {
461
461
  // so the L8 swap can land at 700km (the <boundary ramp begins below the lowest knot).
462
462
  // (the src/lab altSplitMul mirror was deleted 2026-06-12; this is the only copy now.)
463
463
  // knots [altKm, sf]; sf log-interpolated. Outside the range clamps to the end knot.
464
- const KN = [[700,0.865],[900,1.009],[1200,0.966],[1700,0.898],[2400,1.19],[3200,0.865],[5000,0.86],[7000,0.72],[13000,0.60],[40000,0.45]];
464
+ const KN = [[700,0.865],[900,1.009],[1200,0.966],[1700,0.898],[2400,1.19],[3200,0.865],[5000,0.86],[12000,0.72],[20000,0.60],[40000,0.45]];
465
465
  if (altKm <= KN[0][0]) { mul = KN[0][1]; }
466
466
  else if (altKm >= KN[KN.length-1][0]) { mul = KN[KN.length-1][1]; }
467
467
  else { for (let i = 1; i < KN.length; i++) { if (altKm <= KN[i][0]) {