ray:: CLI options -ray-range and -ray-sol

This commit is contained in:
Zeno Rogue 2020-05-08 21:20:33 +02:00
parent ee0f57f28b
commit a4d3ebb06d
1 changed files with 12 additions and 0 deletions

View File

@ -1367,6 +1367,12 @@ int readArgs() {
PHASEFROM(2);
want_use = 1;
}
else if(argis("-ray-range")) {
PHASEFROM(2);
shift_arg_formula(exp_start);
shift_arg_formula(exp_decay_current());
want_use = 1;
}
else if(argis("-ray-out")) {
PHASEFROM(2); shift(); color_out_of_range = arghex();
}
@ -1374,6 +1380,12 @@ int readArgs() {
PHASEFROM(2);
comparison_mode = true;
}
else if(argis("-ray-sol")) {
PHASEFROM(2);
shift(); max_iter_sol = argi();
shift_arg_formula(maxstep_sol, reset_raycaster);
reset_raycaster();
}
else if(argis("-ray-cells")) {
PHASEFROM(2); shift();
rays_generate = true;