mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 02:02:21 +00:00
Move surface placement into the globe and give it the fourth trigger
src/globe/surfacePlacement.js takes over the shared surface placer and adds readSurface (tiles through sampleHeight, otherwise terrain, with a plausibility range), surfaceTriggers (one subscription to camera moves, tile loads, the photoreal switch and terrain revisions) and a forced full pass. Points now re-place when the terrain provider changes, which they did not before. GhostMaps, cables, OSM Places and Street Level move to the new module unchanged.
This commit is contained in:
1 parent
a90407d547
commit
ef104aaac3
8 files changed
+410
-131
No files matched your search
@@ -14,7 +14,7 @@ import { bindOverlayHost } from '../../../overlays/bindOverlayHost.js';
|
||||
import * as geo from '../../../geo/index.js';
|
||||
import { isPointerFree } from '../../../data/inputOwnership.js';
|
||||
import { rgbaFromCss } from '../../shared/color.js';
|
||||
import { createSurfacePoints } from '../../shared/render/surfacePoints.js';
|
||||
import { createSurfacePoints } from '../../../globe/surfacePlacement.js';
|
||||
import {
|
||||
featureLabel,
|
||||
featureReference,
|
||||
|
||||
Reference in new issue
Block a user