fixed pointing in sphere orthographic

This commit is contained in:
Zeno Rogue 2021-02-01 11:45:13 +01:00
parent b28270959d
commit 9065011437
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ EX hyperpoint perspective_to_space(hyperpoint h, ld alpha IS(pconf.alpha), eGeom
B /= A; C /= A;
ld rootsign = 1;
// if(gc == gcSphere && pconf.alpha > 1) rootsign = -1;
if(gc == gcSphere && pconf.alpha > 1) rootsign = -1;
ld hz = B / 2 + rootsign * sqrt(C + B*B/4);