fix(vessels): world-clock motion moves only drawn vessels, once per world time

Vessels out of view move on every 250 ms so one coming into view is current;
vessels at the end of their fixes ask for no frames; nothing moves while the
layer is off; 2D views judge the half-pixel step across the view's width; a
re-floor redraws vessels where they are on the next pass.
This commit is contained in:
Sameh Khamis committed 2026-11-14 23:30:38 -08:00
1 parent 7bea88b395
commit 52695daf5c
5 files changed
+183 -45

No files matched your search

+4 -5
View File
@@ -73,11 +73,10 @@ export function createTracking({
heightM,
);
if (visual.billboard) visual.billboard.position = visual.position;
// A placed vessel is drawn again at its placement on the next pass.
if (services.placement) {
visual.drawnLat = NaN;
visual.drawnLon = NaN;
}
// A moving vessel is drawn again where it is on the next pass.
visual.drawnLat = NaN;
visual.drawnLon = NaN;
visual.followedAtMs = undefined;
}
}