diff options
| author | Claude <noreply@anthropic.com> | 2026-04-10 04:01:42 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-04-10 04:01:42 +0000 |
| commit | cc4e283c24beb4e1cdbf9ba7aae5c772e2f8a29d (patch) | |
| tree | 43f806b1dd096be8b5f8d86516c202e300775a5b /android-app/gradle.properties | |
| parent | 1c78d59567b700868a69d6d14012207506ee255d (diff) | |
Fix particle disappearance at antimeridian-crossing viewports; use white
When the viewport crosses ±180° longitude (e.g. Pacific Ocean view),
minOf/maxOf on raw longitudes produces lonWest/lonEast that are backwards.
Every particle then satisfies the out-of-bounds check and is respawned on
every frame → continue → never drawn.
Fix: compute lonSpan from screen-ordered corners (left edge / right edge)
with antimeridian wrap: lonSpan = lonEast >= lonWest ? span : span + 360.
Bounds check uses normalized particle longitude relative to lonWest mod 360.
Particle movement wraps longitude into [-180, 180] to stay consistent.
Also change particle color to white so it contrasts against the blue wind
raster overlay instead of blending into it.
https://claude.ai/code/session_01HXPjBsogsJVRwCiekDGkJX
Diffstat (limited to 'android-app/gradle.properties')
0 files changed, 0 insertions, 0 deletions
