extra commandline option

This commit is contained in:
Zeno Rogue 2020-12-28 22:01:29 +01:00
parent 11e7ddc8ee
commit 60c3f383b9
2 changed files with 16 additions and 0 deletions

View File

@ -816,6 +816,18 @@ EX namespace models {
PHASEFROM(2);
shift_arg_formula(vpconf.model_orientation);
}
else if(argis("-mets")) {
PHASEFROM(2);
shift_arg_formula(vpconf.euclid_to_sphere);
}
else if(argis("-mhyp")) {
PHASEFROM(2);
shift_arg_formula(vpconf.hyperboloid_scaling);
}
else if(argis("-mdepth")) {
PHASEFROM(2);
shift_arg_formula(vpconf.depth_scaling);
}
else if(argis("-mnil")) {
PHASEFROM(2);
shift_arg_formula(vpconf.rotational_nil);

4
vr.cpp
View File

@ -914,6 +914,10 @@ int readArgs() {
PHASEFROM(2);
shift_arg_formula(pconf.vr_zshift);
}
else if(argis("-vr-angle")) {
PHASEFROM(2);
shift_arg_formula(pconf.vr_angle);
}
else if(argis("-d:vr")) {
PHASEFROM(2); launch_dialog(show_vr_settings);
}