ray:: fixed order

This commit is contained in:
Zeno Rogue 2019-10-25 23:24:31 +02:00
parent 0e7c5055ae
commit e0f243b11c
1 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,15 @@ EX ld exp_start = 1, exp_decay_exp = 4, exp_decay_poly = 10;
EX int max_iter_sol = 600, max_iter_iso = 60;
ld& exp_decay_current() {
return (sol || hyperbolic) ? exp_decay_exp : exp_decay_poly;
}
int& max_iter_current() {
if(nonisotropic) return max_iter_sol;
else return max_iter_iso;
}
#define IN_ODS 0
/** is the raycaster available? */