| # | Line 51 | Line 51 | rayorigin( /* start new ray from old one */ | |
|---|---|---|
| 51 | setcolor(r->rcoef, 1., 1., 1.); | |
| 52 | } else { | |
| 53 | rw = intens(rc); | |
| 54 | + | if (rw > 1.0) | 
| 55 | + | rw = 1.0; /* avoid calculation growth */ | 
| 56 | if (rc != r->rcoef) | |
| 57 | copycolor(r->rcoef, rc); | |
| 58 | } | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |