mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Draw GNSS integrity cells through the renderer's draw port
Cells are clamped rectangle fills in one draw set per layer (gnss-integrity:N), made with pickable: false so they never hide what is under them from clicks, as before. The view anchor comes from the camera port: where the line of sight meets the ellipsoid, else the middle of the view rectangle, else the point under the eye. Re-anchoring follows the camera port's moveEnd and changed events. The ray-ellipsoid intersection moves from the stub renderer into geo/ellipsoid.js for both to use, and geo/rectangle.js adds the antimeridian-aware width, height and centre of a radian rectangle. The layer leaves the allow-list; the QA script finds the cells among the scene's unpickable ground primitives.
This commit is contained in:
1 parent
3f9089eccb
commit
6f82f9cc9c
10 files changed
+418
-232
No files matched your search
@@ -67,6 +67,7 @@ const FALLS_BACK = new Set(['src/data/followed.js']);
|
||||
const DRAW_FROM_CALLER = new Set([
|
||||
'./layers/earthquakes',
|
||||
'./layers/bikeshare',
|
||||
'./layers/gnss',
|
||||
'./layers/perimeters',
|
||||
]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user