mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-26 16:00:14 +00:00
fixed param_custom in models
This commit is contained in:
parent
fb3b526ae6
commit
4c59d87a34
@ -985,7 +985,7 @@ EX namespace models {
|
||||
auto_restrict = [&p] { return &vpconf == &p; };
|
||||
|
||||
addsaverenum(p.model, pp+"used model", mdDisk);
|
||||
param_custom(pmodel, "projection|Poincare|Klein|half-plane|perspective", menuitem_projection, '1');
|
||||
if(&p.model == &pmodel) param_custom(pmodel, "projection|Poincare|Klein|half-plane|perspective", menuitem_projection, '1');
|
||||
|
||||
param_f(p.model_orientation, pp+"mori", sp+"model orientation", 0);
|
||||
param_f(p.model_orientation_yz, pp+"mori_yz", sp+"model orientation-yz", 0);
|
||||
@ -1083,6 +1083,7 @@ EX namespace models {
|
||||
param_i(p.back_and_front, sp+"backandfront", 0);
|
||||
|
||||
addsaver(p.alpha, sp+"projection", 1);
|
||||
if(&p.model == &pmodel)
|
||||
param_custom(p.alpha, sp+"projection", menuitem_projection_distance, 'p')
|
||||
->help_text = "projection distance|Gans Klein Poincare orthographic stereographic";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user