mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-11 13:52:19 +00:00
Move shared follow offsets and Draw onto the globe contract
Share links read the current follow handle and displayed position through engine.camera and restore their ENU offset with follow's swingTo option. Cesium retains its first-frame wait, displayed-position cache, 60-degree frame limit and range interpolation. Navara and the fake engine apply the same swing. Cancellation, camera handoff and destruction release it; an externally tracked Cesium entity keeps its existing handle. Draw uses one surface with engine input, geodesic lines and point movers. An exclusive pointer claim suppresses ambient subscriptions and deferred picks across ownership changes. Cesium owns suspension and exact restoration of its stock select and track actions. Camera gestures remain enabled. Detaching releases the sketch and preview and retains shape and colour. The separate Navara surface and Cesium data-source preview are removed. Cesium remains the reference for clicked heights, line width and dash, vertex size and outline, keyboard handling and completed annotations. One deliberate visual fix is that the occluded rubber band uses the selected colour instead of retaining the initial amber: it now identifies the same sketch as its visible segment. Navara adopts Cesium's geodesic preview edges. Finished annotation drapes are unchanged. External Cesium import files fall from 7 to 5, viewer lines from 1005 to 953, and engine-name lines from 39 to 37. No coupling metric grows. The full unit suite, import directions, package boundaries, formatting and coupling 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; qa-navara-draw passes; qa-draw-tool passes apart from its hidden-line pixel check, which fails the same way before this change. Its destroy check now expects no preview data source, since the preview has none.
This commit is contained in:
1 parent
910d693b94
commit
dacfd33f10
31 files changed
+1071
-785
No files matched your search
@@ -3401,7 +3401,7 @@
|
||||
"src/app/engineChoice.js",
|
||||
"src/app/navaraMode.js",
|
||||
"src/annotations/navaraAnnotationRenderer.js",
|
||||
"src/annotations/drawInputNavara.js",
|
||||
"src/annotations/drawSurface.js",
|
||||
"src/globe/cesium/sceneProjection.js",
|
||||
"src/globe/cesium/screenEvents.js",
|
||||
"src/globe/cesium/trail.js",
|
||||
@@ -3579,7 +3579,9 @@
|
||||
"src/data/geoImportDisplay.js",
|
||||
"src/globe/cesium/meshes.js",
|
||||
"src/globe/meshes.js",
|
||||
"src/globe/navara/meshes.js"
|
||||
"src/globe/navara/meshes.js",
|
||||
"src/globe/exclusivePointer.js",
|
||||
"src/globe/cesium/followOffset.js"
|
||||
],
|
||||
"external": [
|
||||
"hls.js",
|
||||
@@ -4339,7 +4341,9 @@
|
||||
"src/data/geoImportKml.js",
|
||||
"src/data/geoImportDisplay.js",
|
||||
"src/globe/cesium/meshes.js",
|
||||
"src/globe/meshes.js"
|
||||
"src/globe/meshes.js",
|
||||
"src/globe/exclusivePointer.js",
|
||||
"src/globe/cesium/followOffset.js"
|
||||
],
|
||||
"external": [
|
||||
"hls.js",
|
||||
@@ -5103,7 +5107,8 @@
|
||||
"src/styles/anime.js",
|
||||
"src/styles/noir.js",
|
||||
"src/globe/cesium/meshes.js",
|
||||
"src/globe/meshes.js"
|
||||
"src/globe/meshes.js",
|
||||
"src/globe/exclusivePointer.js"
|
||||
],
|
||||
"external": ["cesium", "egm96-universal", "pbf"]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user