mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Keep each drawn icon's expiry in a shared icon book, for replanning
render/motion/iconBook holds the icon items a layer drew to a draw set, as
the vessels' book did, and now also when each one's motion stops being what
the layer would plan: put(item, {expiresAt}) records it (Infinity: planned,
never due; null drops it; a restyle keeps it), and due(t) lists the ones to
plan afresh. It reads a moving icon's position and course at a time through
the shared evaluator, as the renderer draws it given its capabilities. An
item easing its course by courseBlendMs reads its target course.
This is what a layer with dead-reckoned contacts keeps on the CPU in place
of the GPU set's own row expiry. The vessels' icon book is now this one.
This commit is contained in:
1 parent
0349941b71
commit
e72382b1aa
4 files changed
+255
-51
No files matched your search
@@ -1694,6 +1694,7 @@
|
||||
"src/layers/vessels/queries.js",
|
||||
"src/geo/vector.js",
|
||||
"src/layers/vessels/rendering.js",
|
||||
"src/render/motion/iconBook.js",
|
||||
"src/layers/vessels/iconBook.js",
|
||||
"src/data/entityRecords.js",
|
||||
"src/data/iconSetPrimitive.js",
|
||||
@@ -1745,6 +1746,7 @@
|
||||
"src/render/creditMarkup.js",
|
||||
"src/render/cesium/draw.js",
|
||||
"src/render/cesium/gpuIcons.js",
|
||||
"src/render/motion/iconMotion.js",
|
||||
"src/render/cesium/frame.js",
|
||||
"src/render/cesium/follow.js",
|
||||
"src/render/cesium/cameraInput.js",
|
||||
@@ -3479,6 +3481,7 @@
|
||||
"src/layers/vessels/policy.js",
|
||||
"src/layers/vessels/queries.js",
|
||||
"src/layers/vessels/rendering.js",
|
||||
"src/render/motion/iconBook.js",
|
||||
"src/layers/vessels/iconBook.js",
|
||||
"src/layers/vessels/selection.js",
|
||||
"src/layers/vessels/state.js",
|
||||
@@ -4426,6 +4429,7 @@
|
||||
"src/layers/vessels/policy.js",
|
||||
"src/layers/vessels/queries.js",
|
||||
"src/layers/vessels/rendering.js",
|
||||
"src/render/motion/iconBook.js",
|
||||
"src/layers/vessels/iconBook.js",
|
||||
"src/layers/vessels/selection.js",
|
||||
"src/layers/vessels/state.js",
|
||||
|
||||
Reference in new issue
Block a user