1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

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

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