Anchor Navara inspection sunlight to the restored view

This commit is contained in:
German Khokhlov committed 2026-11-02 17:26:34 +04:00
1 parent 0d15e80e28
commit 3a2a53aef9
5 files changed
+80 -12

No files matched your search

+2 -2
View File
@@ -52,8 +52,8 @@ export function resolveNavaraLook(search = '') {
export const ACES_FILMIC = 6;
export const AGX = 7;
// The Sentinel-2 landscape uses early afternoon at the camera longitude,
// independently of the telemetry clock. Only the displayed sunlight moves.
// Pick early afternoon at the starting landscape longitude. The look keeps
// this timestamp while the user explores; telemetry uses its own clock.
export function landscapeSunTime(now, longitude) {
const hour = 3_600_000;
const day = 24 * hour;