mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 18:22:25 +00:00
fix(cctv): cull frames through renderer camera port
This commit is contained in:
1 parent
147d1f5e4e
commit
c0752784d2
6 files changed
+143
-36
No files matched your search
@@ -350,6 +350,9 @@ export function createCesiumCamera({
|
||||
}
|
||||
|
||||
const cameraPort = {
|
||||
// The ECEF camera pose describes the globe only in 3D. Consumers that
|
||||
// cannot prove this must avoid globe-only visibility culling.
|
||||
isWorld3D: () => scene.mode === Cesium.SceneMode.SCENE3D,
|
||||
on: (event, cb, options) => cameraEvents.on(event, cb, options),
|
||||
onCommand: (cb) => commandHooks.on(cb),
|
||||
setView(spec) {
|
||||
|
||||
Reference in new issue
Block a user