mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 15:20:27 +00:00
models:: fixed errors on poles in CentralCyl
This commit is contained in:
parent
43bcc4e2bd
commit
161ed6a9a9
@ -679,7 +679,7 @@ EX void applymodel(hyperpoint H, hyperpoint& ret) {
|
||||
break;
|
||||
|
||||
case mdCentralCyl:
|
||||
makeband(H, ret, [] (ld& x, ld& y) { y = tan_auto(y); });
|
||||
makeband(H, ret, [] (ld& x, ld& y) { y = tan_auto(y); ld top = vid.yres * M_PI / current_display->radius; if(y>top) y=top; if(y<-top) y=-top; });
|
||||
break;
|
||||
|
||||
case mdCollignon:
|
||||
|
Loading…
Reference in New Issue
Block a user