mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
Place every surface-bound layer through the shared placement
Import pins, infrastructure, ALPR, directions markers, bikeshare and the Bhote Koshi story use createSurfacePoints instead of their own sampling, budgets and partial triggers; ground snap, the mesh floor sampler, traffic, transit, Street Level, the camera ground guard, wildlife and the cockpit host read heights through readSurface or surfaceTriggers. Per-layer offsets and floor policies stay as options. The import no longer re-places pins on every camera move from the UI. Calls to engine.surface outside src/globe go from 41 sampling calls to 10, each a raycast, a one-shot fly-to height or an asynchronous detailed sample.
This commit is contained in:
1 parent
ef104aaac3
commit
82ed68f443
31 files changed
+530
-568
No files matched your search
@@ -469,7 +469,6 @@ export function createGeoFileImport({
|
||||
engine,
|
||||
controller: new AbortController(),
|
||||
});
|
||||
ownEvent(engine.camera.moveEnd, ground);
|
||||
const container = engine.host.container;
|
||||
const canvas = engine.host.canvas || container;
|
||||
listen(canvas, 'pointerdown', gesture, { passive: true });
|
||||
|
||||
Reference in new issue
Block a user