1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

fixed incorrect mouse interpretation in spherical ortho

This commit is contained in:
Zeno Rogue 2019-10-25 23:24:21 +02:00
parent fcebfdbcf3
commit 0e7c5055ae

View File

@ -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);