1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

mobius transformations only in 2D

This commit is contained in:
Zeno Rogue 2019-03-20 02:13:17 +01:00
parent febb0824a5
commit eed92c5b96

View File

@ -805,7 +805,7 @@ namespace conformal {
});
}
if(among(pmodel, mdJoukowsky, mdJoukowskyInverted, mdSpiral)) {
if(among(pmodel, mdJoukowsky, mdJoukowskyInverted, mdSpiral) && DIM == 2) {
dialog::addSelItem(XLAT("Möbius transformations"), fts3(vid.skiprope), 'S');
dialog::add_action([](){
dialog::editNumber(vid.skiprope, 0, 360, 15, 0, XLAT("Möbius transformations"), "");