mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Fly scenes through the renderer bridge and take the scene director off the Cesium list
The director converts degrees itself, finds its camera through the renderer bridge rather than the Cesium adapter, and reads the canvas from its bound renderer. A caller handing it a viewer of its own with no renderer bound loads the package's ./render/cesium/unbound export first, as other Cesium-free entries ask.
This commit is contained in:
1 parent
1cfa62c7ba
commit
dbf1647572
3 files changed
+25
-19
No files matched your search
@@ -81,7 +81,6 @@
|
||||
"src/sceneCommandRelease.js",
|
||||
"src/scenes/dataPacks/geometry.js",
|
||||
"src/scenes/dataPacks/presentation.js",
|
||||
"src/scenes/director.js",
|
||||
"src/services/groundSnap.js",
|
||||
"src/services/meshFloorSampler.js",
|
||||
"src/sky/starrySky.js",
|
||||
|
||||
@@ -96,6 +96,10 @@ const DRAW_FROM_CALLER = new Set([
|
||||
* `./render/cesium/unbound`.
|
||||
*/
|
||||
const CAMERA_FROM_CALLER = new Set([
|
||||
// Not Cesium-free yet: its data packs still draw through Cesium in their
|
||||
// own listed modules. Its flights ask `cameraOf`, which throws until the
|
||||
// caller has loaded the export.
|
||||
'./scenes',
|
||||
'./ui/navigation',
|
||||
'./voice/commands',
|
||||
'./voice/controller',
|
||||
|
||||
Reference in new issue
Block a user