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

nicer edit dialog for mori

This commit is contained in:
Zeno Rogue 2023-08-14 11:25:29 +02:00
parent d9d92bfd84
commit e4562be1f5

View File

@ -969,8 +969,10 @@ EX namespace models {
addsaverenum(p.model, pp+"used model", mdDisk); addsaverenum(p.model, pp+"used model", mdDisk);
if(&p.model == &pmodel) 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_matrix(p.mori().v2, pp+"mori", 2); param_matrix(p.mori().v2, pp+"mori", 2)
param_matrix(p.mori().v3, pp+"mori3", 3); -> editable("model orientation", "", 'o');
param_matrix(p.mori().v3, pp+"mori3", 3)
-> editable("model orientation 3D", "", 'o');
param_f(p.top_z, sp+"topz", 5) param_f(p.top_z, sp+"topz", 5)
-> editable(1, 20, .25, "maximum z coordinate to show", "maximum z coordinate to show", 'l'); -> editable(1, 20, .25, "maximum z coordinate to show", "maximum z coordinate to show", 'l');