mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 01:02:23 +00:00
Separate flight observations and tracking from the scene renderer
This commit is contained in:
1 parent
4bd7f97cc4
commit
a0e5f04c30
10 files changed
+371
-187
No files matched your search
@@ -29,7 +29,7 @@ export function createCivilFlightLayer({
|
||||
parts.evidence = createEvidence(context);
|
||||
parts.testing = createTesting(context);
|
||||
parts.queries = createQueries(context);
|
||||
const applySnapshot = createFlightSnapshotRenderer({
|
||||
parts.snapshots = createFlightSnapshotRenderer({
|
||||
flightState,
|
||||
records: flightState.records,
|
||||
militaryRegistry: services.militaryRegistry,
|
||||
@@ -45,7 +45,7 @@ export function createCivilFlightLayer({
|
||||
feed: flightState.feed,
|
||||
getQuery: (viewer) =>
|
||||
parts.controller._flightQuery(viewer || flightState._renderer?.view),
|
||||
applySnapshot,
|
||||
applySnapshot: (snapshot) => parts.snapshots.applySnapshot(snapshot),
|
||||
setSourceLabel: (source) => {
|
||||
layer.source = source;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user