mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
embeddings:: editing euclid_embed parameters no longer edits them back
This commit is contained in:
parent
13a90006b8
commit
4ee2c9faa3
@ -840,16 +840,16 @@ EX void initConfig() {
|
|||||||
param_f(geom3::euclid_embed_scale, "euclid_embed_scale", "euclid_embed_scale")
|
param_f(geom3::euclid_embed_scale, "euclid_embed_scale", "euclid_embed_scale")
|
||||||
-> editable(0, 2, 0.05, "Euclidean embedding scale", "How to scale the Euclidean map, relatively to the 3D absolute unit.", 'X')
|
-> editable(0, 2, 0.05, "Euclidean embedding scale", "How to scale the Euclidean map, relatively to the 3D absolute unit.", 'X')
|
||||||
-> set_sets([] { dialog::bound_low(0.05); })
|
-> set_sets([] { dialog::bound_low(0.05); })
|
||||||
-> set_reaction([] { if(vid.always3) { geom3::switch_fpp(); geom3::switch_fpp(); } });
|
-> set_reaction([] { if(vid.always3) { for(auto m: allmaps) m->on_dim_change(); }});
|
||||||
|
|
||||||
param_f(geom3::euclid_embed_scale_y, "euclid_embed_scale_y", "euclid_embed_scale_y")
|
param_f(geom3::euclid_embed_scale_y, "euclid_embed_scale_y", "euclid_embed_scale_y")
|
||||||
-> editable(0, 2, 0.05, "Euclidean embedding scale Y/X", "This scaling factor affects only the Y coordinate.", 'Y')
|
-> editable(0, 2, 0.05, "Euclidean embedding scale Y/X", "This scaling factor affects only the Y coordinate.", 'Y')
|
||||||
-> set_sets([] { dialog::bound_low(0.05); })
|
-> set_sets([] { dialog::bound_low(0.05); })
|
||||||
-> set_reaction([] { if(vid.always3) { geom3::switch_fpp(); geom3::switch_fpp(); } });
|
-> set_reaction([] { if(vid.always3) { for(auto m: allmaps) m->on_dim_change(); }});
|
||||||
|
|
||||||
param_f(geom3::euclid_embed_rotate, "euclid_embed_rotate", "euclid_embed_rotate")
|
param_f(geom3::euclid_embed_rotate, "euclid_embed_rotate", "euclid_embed_rotate")
|
||||||
-> editable(0, 360, 15, "Euclidean embedding rotation", "How to rotate the Euclidean embedding, in degrees.", 'F')
|
-> editable(0, 360, 15, "Euclidean embedding rotation", "How to rotate the Euclidean embedding, in degrees.", 'F')
|
||||||
-> set_reaction([] { if(vid.always3) { geom3::switch_fpp(); geom3::switch_fpp(); } });
|
-> set_reaction([] { if(vid.always3) { for(auto m: allmaps) m->on_dim_change(); }});
|
||||||
|
|
||||||
param_enum(embedded_shift_method_choice, "embedded_shift_method", "embedded_shift_method", smcBoth)
|
param_enum(embedded_shift_method_choice, "embedded_shift_method", "embedded_shift_method", smcBoth)
|
||||||
-> editable({
|
-> editable({
|
||||||
|
Loading…
Reference in New Issue
Block a user