mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Merge origin/main into german/navara
Main's new layers (drone airspace, OSM places, sea marks, ski pistes) are Cesium-only for now: they join the layer directory and the Cesium catalog, are built afresh for each Cesium catalog, and show as unavailable on Navara. The zoom-out guard is a scene part that attaches to Cesium globes only. The awareness range pulses and their echoes draw on Cesium through the awareness display's viewer; Navara keeps the plain range ring. Camera-input wakes go through the display, and the analyst keeps the session-owned memory with main's area presentation. A disposed voice runner aborts work in flight, and an engine switch still keeps the last answer. Modules main added that read Cesium while they load (zoomOutGuard, awarenessEcho, the ground-sampling scratch in localGeojsonCore) now build those values on first use or use src/geo, so a Navara page still starts without the SDK. The OSM view box reads the engine's view rectangle. Main grew its own main chunk by 93,873 bytes gzip-9 since the merge base, so the baseline is raised to the merged size.
This commit is contained in:
commit
db9bf64821
264 files changed
+33864
-1424
No files matched your search
@@ -42,11 +42,7 @@ export function update() {
|
||||
// NEXT/PREV selection can otherwise spend one frame driving the old
|
||||
// aircraft with the new aircraft's metadata.
|
||||
this._adoptTrackedEntity(nowMs, info);
|
||||
if (
|
||||
!info ||
|
||||
!this.trackedEntity ||
|
||||
!this.host.contains(this.trackedEntity)
|
||||
) {
|
||||
if (!info || !this.trackedEntity || !this.host.contains(this.trackedEntity)) {
|
||||
if (nowMs < this.contextNavigationDeadlineMs) return;
|
||||
this.exit({ restoreTracking: false });
|
||||
return;
|
||||
@@ -61,10 +57,7 @@ export function update() {
|
||||
return;
|
||||
this.lastCameraUpdateMs = nowMs;
|
||||
|
||||
const target = this.host.position(
|
||||
this.trackedEntity,
|
||||
this.scratchTarget,
|
||||
);
|
||||
const target = this.host.position(this.trackedEntity, this.scratchTarget);
|
||||
if (!target) return;
|
||||
const dtSec = Math.min(0.1, Math.max(0, (nowMs - this.lastFrameMs) / 1000));
|
||||
this.lastFrameMs = nowMs;
|
||||
|
||||
Reference in new issue
Block a user