mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed the disappearing center in equi-euclidean
This commit is contained in:
parent
a19d4d568b
commit
5f4c773581
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user