mobius transformations only in 2D

This commit is contained in:
Zeno Rogue
2019-09-12 22:38:47 +02:00
parent febb0824a5
commit eed92c5b96
+1 -1
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"), "");