mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
fixed the disappearing center in equi-euclidean
This commit is contained in:
1 parent
a19d4d568b
commit
5f4c773581
1 file changed
+1
@@ -152,6 +152,7 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
|
||||
|
||||
if(mdEqui()) {
|
||||
ld rad = sqrt(H[0] * H[0] + H[1] * H[1]);
|
||||
if(rad == 0) rad = 1;
|
||||
ld d = hdist0(H);
|
||||
|
||||
// 4 pi / 2pi = M_PI
|
||||
|
||||
Reference in new issue
Block a user