mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Place the event's media cards through the renderer's ports and take them off the Cesium list
The embedded media cards find their anchor on screen through the camera port's pose (whether it is behind the eye) and the query port's projection, read the renderer's canvas for its offset, and follow the camera on the frame port's postRender. The card root still goes in the viewer's container, which is DOM. A test binds the three ports and checks the card follows its anchor, hides behind the eye, and unsubscribes on destroy.
This commit is contained in:
1 parent
cdbbf8c705
commit
4cbfd6e12d
3 files changed
+75
-18
No files matched your search
@@ -11,7 +11,6 @@
|
||||
"src/cyberSonarScene.js",
|
||||
"src/data/aircraftModelLayer.js",
|
||||
"src/data/aircraftMotionRegime.js",
|
||||
"src/data/bhoteKoshiEmbeddedMedia.js",
|
||||
"src/data/bhoteKoshiEvent.js",
|
||||
"src/data/bhoteKoshiLocator.js",
|
||||
"src/data/cctvGizmo.js",
|
||||
|
||||
Reference in new issue
Block a user