fix(globe): the CPU pick radius follows scaleByDistance

Review of Task 4: the CPU picks (Navara hover, drill, the stale-answer
check) took a sprite or point at its full sizePx however far it was, so a
set shrunk with scaleByDistance was picked well off its drawn edge. The
radius now scales by the set's scaleByDistance at the instance's camera
distance, linear between near and far as the Navara shader draws it.
This commit is contained in:
German Khokhlov committed 2026-10-16 21:00:01 +04:00
1 parent a4e753d550
commit d7193e3b9e
3 files changed
+79 -9

No files matched your search

+2 -1
View File
@@ -1094,5 +1094,6 @@
"src/globe/surfaceDetail.test.mjs",
"scripts/qa-surface-heights.mjs",
"src/globe/navara/followGestures.js",
"src/globe/navara/followGestures.test.mjs"
"src/globe/navara/followGestures.test.mjs",
"src/globe/cpuPicks.test.mjs"
]