mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Enforce engine SDK boundaries and rehearse every layer display
Restrict runtime SDK imports to their engine directories, including package subpaths, re-exports and dynamic imports. Keep three measured, reasoned exceptions for the Bhote Koshi property-record models and reject stale exceptions. Move the Cesium annotation renderers and both wind adapters to their engine folders, preserving their implementations and lazy loading. Load all 35 manifest display entries on a fake engine with an unknown kind and no native extensions. Draw small fixtures and verify resource and subscription cleanup before destroying the engine. Name the three entries without display factories as skips. Update the architecture, infrastructure lifecycle and engine integration documentation to describe the code today. Cesium behavior is unchanged, and Navara keeps its existing behavior. The weather comparison harness supplies the Navara flow-mesh factory and accepts the previous backend location for comparison runs. No user-visible strings change. Cesium layer-renderer lines fall from 14 to 0, Navara layer-renderer lines from 314 to 189, outside-engine Cesium import files from 5 to 3, viewer lines from 933 to 910, extension reads from 4 to 3, and engine-name lines from 36 to 33. No coupling count grows. Targeted checks pass: 845 tests, three named rehearsal skips. Import directions, package boundaries, formatting and syntax checks pass. Checked in the browser, keyless: the contract suite passes on Navara and on Cesium apart from the camera-events check that also fails intermittently before; Navara annotations pass across engine switches; the ground-look comparison is pixel-identical. qa-draw-tool's hidden-line check and the wind engine switch fail the same way before this change.
This commit is contained in:
1 parent
656943641c
commit
52c6f68bd5
31 files changed
+1145
-208
No files matched your search
@@ -3,7 +3,7 @@ import { markRaw, shallowRef } from 'vue';
|
||||
|
||||
/**
|
||||
* The screen-space annotation board as its view renders it. The screen
|
||||
* annotation renderer (src/annotations/screenAnnotationRenderer.js) presents
|
||||
* annotation renderer (src/globe/cesium/annotations/screenAnnotationRenderer.js) presents
|
||||
* every mark's SVG parts after each rendered frame; the view hands back the
|
||||
* elements the renderer measures and reports when a draw-on stroke finishes.
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* ── Screen-space annotations (src/annotations/screenAnnotationRenderer.js) ── */
|
||||
/* ── Screen-space annotations (src/globe/cesium/annotations/screenAnnotationRenderer.js) ── */
|
||||
.gev-screen-whiteboard { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
|
||||
.gev-screen-whiteboard-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
|
||||
/* No CSS opacity transition here on purpose: group opacity is driven per-frame in JS
|
||||
|
||||
@@ -3,7 +3,7 @@ import { storeToRefs } from 'pinia';
|
||||
import { useScreenAnnotationsStore } from '../../stores/screenAnnotations.js';
|
||||
|
||||
// The screen-space annotation board over the page, as the screen annotation
|
||||
// renderer (src/annotations/screenAnnotationRenderer.js) presents it.
|
||||
// renderer (src/globe/cesium/annotations/screenAnnotationRenderer.js) presents it.
|
||||
const { board, controls } = storeToRefs(useScreenAnnotationsStore());
|
||||
|
||||
// Each element goes to the renderer it was rendered for, which measures it.
|
||||
|
||||
Reference in new issue
Block a user