fixed the disappearing center in equi-euclidean

This commit is contained in:
Zeno Rogue 2017-11-13 11:26:46 +01:00
parent a19d4d568b
commit 5f4c773581
1 changed files with 1 additions and 0 deletions

View File

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