| # | Line 111 | Line 111 | rayorigin( /* start new ray from old one */ | |
|---|---|---|
| 111 | return(-1); /* upper reflection limit */ | |
| 112 | if (r->rweight >= minweight) | |
| 113 | return(0); | |
| 114 | < | if (frandom() < r->rweight/minweight) | 
| 114 | > | if (frandom() > r->rweight/minweight) | 
| 115 | return(-1); | |
| 116 | rw = minweight/r->rweight; /* promote survivor */ | |
| 117 | scalecolor(r->rcoef, rw); | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |