mobius transformations only in 2D

This commit is contained in:
Zeno Rogue 2019-03-20 02:13:17 +01:00
parent febb0824a5
commit eed92c5b96
1 changed files with 1 additions and 1 deletions

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"), "");