mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 16:52:20 +00:00
Cut duplicated and dead code across the engines, the layers and the QA scripts
- src/geo drops the ported debug argument checks and the tests that bitExact already covers; package boundaries accept a directory entry, so src/geo/ is listed once per group. - Cesium no longer carries movers and lines nobody draws with: they are optional engine capabilities. The fake engine and the Cesium camera use the shared cameraMath; unused contract tables, clock.ticked, the 'finest' surface detail and Navara click statistics are gone. - ALPR keeps one overlay core and one presentation model for both engines, bikeshare one station bookkeeping, the Navara ground effects one definition helper; image atlases, view centres, mover banks and colours are shared. - The legacy switch route, the clock offset and rate controls and other unused exports are removed. - The acceptance runs the Navara draw, geo import and scope checks; scenarios use the harness switch and page helpers; the main chunk check keeps the size budget only and runs once in CI.
This commit is contained in:
1 parent
c502404e1d
commit
7abf74518f
272 files changed
+4828
-10213
No files matched your search
@@ -126,7 +126,7 @@ export function createLifecycle({
|
||||
layerState._lastAppliedRegime = null;
|
||||
}
|
||||
function bindScene(viewer, options) {
|
||||
// Task 5: track the surface regime the initial geometry was computed for
|
||||
// Track the surface regime the initial geometry was computed for
|
||||
// and listen for map-stack changes (main.js re-dispatches
|
||||
// MapStackController.onChange as this CustomEvent). The handler compares
|
||||
// regimes itself, so 'switching'/'error' emissions and same-regime stack
|
||||
@@ -140,7 +140,7 @@ export function createLifecycle({
|
||||
);
|
||||
}
|
||||
|
||||
// Field-test fix (2026-07-06): horizon-cull on camera settle (pairs with
|
||||
// Horizon-cull on camera settle (pairs with
|
||||
// the billboards' always-on-top depth setting) + one initial pass so the
|
||||
// first paint is already culled.
|
||||
if (!layerState._horizonCullListener) {
|
||||
@@ -187,7 +187,7 @@ export function createLifecycle({
|
||||
// remain eligible for true empty-space deselection.
|
||||
const pickedId = resolvePickId(picked);
|
||||
if (pickedId !== null) return;
|
||||
// Item A (owner round 2): the scene pick found no camera — try the
|
||||
// The scene pick found no camera — try the
|
||||
// painted ambient cards. The cards canvas is pointer-events:none (this
|
||||
// handler owns the events), so a click landing on a card's rect selects
|
||||
// its camera exactly like a click on the icon. Cesium click positions
|
||||
@@ -309,7 +309,7 @@ export function createLifecycle({
|
||||
parts.model.ensureCameraPose(camera);
|
||||
}
|
||||
|
||||
// Task 5 (height-datum fix): batch ALL camera coords through the Re:Earth
|
||||
// Batch ALL camera coords through the Re:Earth
|
||||
// ellipsoidal ground-prior resolver (network-cached — NOT a scene query;
|
||||
// the catalog's orthometric groundElevationM feeds the geoid fallback
|
||||
// chain). Bounded wait: a warm proxy cache resolves in milliseconds, so
|
||||
@@ -352,7 +352,7 @@ export function createLifecycle({
|
||||
billboard,
|
||||
coverageEntities: [],
|
||||
projection: null,
|
||||
// Task 5 (height-datum fix): regime-aware ground resolution state.
|
||||
// Regime-aware ground resolution state.
|
||||
// groundPrior — { ellipsoid, source } from the Re:Earth batch
|
||||
// (null until a late batch lands). The prior applies in EVERY
|
||||
// regime and is the terrain-globe resolution outright.
|
||||
@@ -397,7 +397,7 @@ export function createLifecycle({
|
||||
layerState._activeCameraId = layerState._records[0].camera.id;
|
||||
}
|
||||
|
||||
// Task 5: if the prior batch lost init's bounded race, apply it post-hoc
|
||||
// If the prior batch lost init's bounded race, apply it post-hoc
|
||||
// when it lands (pure recomputes — applyLateGroundPriors guards against
|
||||
// a torn-down/re-inited catalog).
|
||||
if (!priors) {
|
||||
|
||||
Reference in new issue
Block a user