mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-20 23:34:08 +00:00
fixed incorrect mouse interpretation in spherical ortho
This commit is contained in:
parent
fcebfdbcf3
commit
0e7c5055ae
@ -60,7 +60,7 @@ hyperpoint perspective_to_space(hyperpoint h, ld alpha, eGeometryClass gc) {
|
|||||||
B /= A; C /= A;
|
B /= A; C /= A;
|
||||||
|
|
||||||
ld rootsign = 1;
|
ld rootsign = 1;
|
||||||
if(gc == gcSphere && vid.alpha > 1) rootsign = -1;
|
// if(gc == gcSphere && vid.alpha > 1) rootsign = -1;
|
||||||
|
|
||||||
ld hz = B / 2 + rootsign * sqrt(C + B*B/4);
|
ld hz = B / 2 + rootsign * sqrt(C + B*B/4);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user