mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-13 06:58:16 +00:00
product:: precise_mouseover fixed
This commit is contained in:
parent
e5fb06e6cd
commit
2267355daa
@ -7205,6 +7205,8 @@ EX void precise_mouseover() {
|
||||
mouseover2 = mouseover = viewcenter();
|
||||
ld best = HUGE_VAL;
|
||||
hyperpoint h =
|
||||
prod ? product::direct_exp( inverse(nisot::local_perspective) * cspin(2, 0, M_PI/2) * forward_dir(1) ) :
|
||||
|
||||
nisot::local_perspective_used() ? inverse(nisot::local_perspective) * cpush(2, 1) * C0 : cpush(2, 1) * C0;
|
||||
forCellEx(c1, mouseover2) {
|
||||
ld dist = hdist(tC0(ggmatrix(c1)), h);
|
||||
|
Loading…
x
Reference in New Issue
Block a user