| # | Line 232 | Line 232 | char *p; /* data for f */ | |
|---|---|---|
| 232 | error(SYSTEM, "out of memory in direct"); | |
| 233 | } | |
| 234 | cntord[sn].sndx = sn; | |
| 235 | < | cntord[sn].brt = 0.0; |
| 235 | > | srccnt[sn].sno = sr.rsrc; |
| 236 | /* compute coefficient */ | |
| 237 | < | (*f)(srccnt[sn].coef, p, srccnt[sn].dir, si.dom); |
| 237 | > | (*f)(srccnt[sn].coef, p, sr.rdir, si.dom); |
| 238 | cntord[sn].brt = bright(srccnt[sn].coef); | |
| 239 | if (cntord[sn].brt <= 0.0) | |
| 240 | continue; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |