mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Move the launches replay and selection cameras onto the camera port
Replay and selection no longer import Cesium. Their maths uses the geo helpers; the full-globe framing reads the camera's position and field of view from the port's pose. Choosing the selected entity, showing only the selected mission's entities and reading the projected orbit for framing move into the rendering part, which owns the entities, so selection no longer touches them. The full-globe framing now checks the canvas size before it asks for the camera. The replay camera still steps in the scene's preUpdate, as before; it moves onto the frame port once unbound viewers have one. Replay and selection leave the allow-list.
This commit is contained in:
1 parent
a2503476de
commit
e2dea507b9
4 files changed
+99
-104
No files matched your search
@@ -79,8 +79,6 @@
|
||||
"src/layers/launches/orbitRendering.js",
|
||||
"src/layers/launches/overlays.js",
|
||||
"src/layers/launches/rendering.js",
|
||||
"src/layers/launches/replay.js",
|
||||
"src/layers/launches/selection.js",
|
||||
"src/layers/localAdsb/index.js",
|
||||
"src/layers/localAdsb/models.js",
|
||||
"src/layers/localAdsb/motion.js",
|
||||
|
||||
Reference in new issue
Block a user