From b95549c0ae2fe0194cce79089b829394e18b7a62 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 5 Aug 2025 09:09:49 +0200 Subject: [PATCH] projective_to_space wa using pconf.alpha instead of alpha --- hypgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 50b9eefb..52c5ff8c 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -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 && alpha > 1) rootsign = -1; ld hz = B / 2 + rootsign * sqrt(C + B*B/4);