mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
attachRenderer takes one context { engine, signal, viewRestored, ... } and
bindCatalog no longer takes a viewer; no layer module receives Cesium's
viewer any more, and a rehearsal check fails if one reads it.
The handoff between engines is one typed object (layers, camera owners,
selection, director) created when the old scene leaves, replacing the
session's handoffLayers, restoringView and selectionContext. viewRestored
resolves where the camera is restored, and the nine layers that kept
their own restoring-view flag wait on it instead. After attach the
binding applies a disabled layer's visibility, registers the picks each
module declares, and resumes the camera owners, so engineSwitch.js no
longer names directions or satellites.
20 lines
474 B
JSON
20 lines
474 B
JSON
{
|
|
"metrics": {
|
|
"attachRendererWithViewer": 0,
|
|
"restoreFlagCopies": 0,
|
|
"surfaceCallsOutsideGlobe": 41,
|
|
"engineSwitchLayerIds": 0,
|
|
"cesiumLayerRendererLines": 0,
|
|
"navaraLayerRendererLines": 0,
|
|
"cesiumImportFiles": 3,
|
|
"viewerLines": 735,
|
|
"navaraKindChecks": 1,
|
|
"engineSniffCalls": 0,
|
|
"engineExtensionReads": 4,
|
|
"groundEffectPasses": 0,
|
|
"cesiumSdkLoads": 3,
|
|
"screenSpaceHandlerFiles": 2,
|
|
"engineNameLines": 21
|
|
}
|
|
}
|