mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +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;
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user