From c81f101b7fe3849f8e7333a7a077d001efc7de28 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 7 Nov 2017 16:37:47 +0100 Subject: [PATCH] fixed equiarea on euclid --- hypgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 6f778d85..e7f3a1b9 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -155,7 +155,7 @@ void applymodel(hyperpoint H, hyperpoint& ret) { ld d = hdist0(H); if(pmodel == 6 && sphere) d = sqrt(2*(1 - cos(d))) * 1.25; // /1.5 to make it fit on the screen better - else if(pmodel == 6) + else if(pmodel == 6 && !euclid) d = sqrt(2*(cosh(d) - 1)) / 1.5; ret[0] = d * H[0] / rad / 4; ret[1] = d * H[1] / rad / 4;