1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-07 04:19:02 +00:00

multi:: two-focus projections

This commit is contained in:
Zeno Rogue
2022-03-27 14:32:29 +02:00
parent a6cbedc944
commit 6d554d6b2e
5 changed files with 65 additions and 17 deletions

View File

@@ -600,6 +600,9 @@ EX namespace models {
if(among(vpmodel, mdJoukowsky, mdJoukowskyInverted, mdSpiral) && GDIM == 2)
add_edit(vpconf.skiprope);
if(vpmodel == mdJoukowskyInverted)
add_edit(vpconf.dualfocus_autoscale);
if(vpmodel == mdHemisphere && euclid)
add_edit(vpconf.euclid_to_sphere);
@@ -1024,6 +1027,9 @@ EX namespace models {
param_f(p.skiprope, sp+"mobius", 0)
-> editable(0, 360, 15, "Möbius transformations", "", 'S')->unit = "°";
param_b(p.dualfocus_autoscale, sp+"dualfocus_autoscale", 0)
-> editable("autoscale dual focus", 'A');
addsaver(p.formula, sp+"formula");
addsaverenum(p.basic_model, sp+"basic model");