mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Share a scene's camera-input holds beyond the dispatcher
The take-over of the camera controller's enableInputs moves, unchanged, to src/render/cesium/cameraInput.js. acquireCameraInput(scene) gives every user one set of counted holds per scene, so the renderer's input and camera ports can hold camera input alongside the dispatcher; the controller gets its own property back when the last user releases. The dispatcher acquires its share once its handler is bound. The input guard names the one module allowed to write the flag, and the new render files join the format scope.
This commit is contained in:
1 parent
35a73b6fda
commit
ad98c80118
7 files changed
+237
-77
No files matched your search
@@ -49,6 +49,10 @@
|
||||
"src/input/dispatcher.js",
|
||||
"src/queries/heights.js",
|
||||
"src/render/cesium/internals.js",
|
||||
"src/render/cesium/cameraInput.js",
|
||||
"src/render/cesium/cameraInput.test.mjs",
|
||||
"src/render/input/router.js",
|
||||
"src/render/input/router.test.mjs",
|
||||
"src/render/cesium/internals.test.mjs",
|
||||
"src/render/cesium/tileRequests.js",
|
||||
"src/render/cesium/tileRequests.test.mjs",
|
||||
|
||||
Reference in new issue
Block a user