mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-11 22:02:21 +00:00
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:
1 parent
a4e753d550
commit
d7193e3b9e
3 files changed
+79
-9
No files matched your search
@@ -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"
|
||||
]
|
||||
Reference in new issue
Block a user