1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 11:44:48 +00:00

fixed used_model parameter

This commit is contained in:
Zeno Rogue 2024-05-27 10:51:33 +02:00
parent 322b21e999
commit 203c11f6e1

View File

@ -950,8 +950,8 @@ EX namespace models {
auto_restrict = [&p] { return &vpconf == &p; };
if(&p.model == &pmodel)
param_custom_int(pmodel, "projection|Poincare|Klein|half-plane|perspective", menuitem_projection, '1');
else param_enum(p.model, parameter_names(pp+"used_model", pp+"used model"), mdDisk);
param_custom_int(pmodel, parameter_names(pp+"used_model", "projection|Poincare|Klein|half-plane|perspective"), menuitem_projection, '1');
else param_enum(p.model, parameter_names(pp+"used_model", sp+"used model"), mdDisk);
param_matrix(p.mori().v2, pp+"mori", 2)
-> editable("model orientation", "", 'o');