| # | Line 92 | Line 92 | register RAY *r; | |
|---|---|---|
| 92 | else | |
| 93 | setcolor(mcolor, 1.0, 1.0, 1.0); | |
| 94 | } | |
| 95 | < | mabsorp = intens(mcolor); |
| 95 | > | mabsorp = bright(mcolor); |
| 96 | ||
| 97 | d2 = 1.0 - nratio*nratio*(1.0 - cos1*cos1); /* compute cos theta2 */ | |
| 98 | ||
| # | Line 253 | Line 253 | double tr; | |
| 253 | /* trace source ray */ | |
| 254 | normalize(sray.rdir); | |
| 255 | rayvalue(&sray); | |
| 256 | < | if (intens(sray.rcol) <= FTINY) /* missed it */ |
| 256 | > | if (bright(sray.rcol) <= FTINY) /* missed it */ |
| 257 | continue; | |
| 258 | ||
| 259 | /* | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |