mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Anchor Navara inspection sunlight to the restored view
This commit is contained in:
1 parent
0d15e80e28
commit
3a2a53aef9
5 files changed
+80
-12
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user