# | Line 118 | Line 118 | rayorigin( /* start new ray from old one */ | |
---|---|---|
118 | r->rweight = minweight; | |
119 | return(0); | |
120 | } | |
121 | < | return(r->rlvl <= maxdepth && r->rweight >= minweight ? 0 : -1); |
121 | > | return(r->rlvl <= abs(maxdepth) && r->rweight >= minweight ? 0 : -1); |
122 | } | |
123 | ||
124 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |