mapspinner 0.1.3 → 0.1.4
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 +1 -1
- package/planet.html +1 -1
package/package.json
CHANGED
package/planet.html
CHANGED
|
@@ -378,7 +378,7 @@ function frameLoop(){
|
|
|
378
378
|
// We drive it in meter-space and scale the km-unit camera into meters via
|
|
379
379
|
// WEBGL2_M_PER_UNIT below.
|
|
380
380
|
import('./src/planet-orchestrator.js')
|
|
381
|
-
.then(m => m.
|
|
381
|
+
.then(m => m.initMapspinnerPlanet(glw, { radius: WEBGL2_TERRAIN_R_M, frustumCull: false }))
|
|
382
382
|
.then(orch => { window.__planetOrch = orch; window.__planetOrchGL = glw; window.__planetOrchStatus='ready';
|
|
383
383
|
import('./src/terrain-gen-controls.js').then(()=>{ try{ window.__gen && window.__gen.apply(); }catch(_){} }).catch(e=>console.warn('gen-controls',e)); })
|
|
384
384
|
.catch(e => { window.__planetOrchStatus='error:'+(e.message||e); console.error('orch init',e); });
|