| # | Line 257 | Line 257 | eval_irrad(FVECT org, FVECT dir) | |
|---|---|---|
| 257 | rayorigin(&thisray, PRIMARY, NULL, NULL); | |
| 258 | thisray.rot = 1e-5; /* pretend we hit surface */ | |
| 259 | thisray.rod = 1.0; | |
| 260 | + | VCOPY(thisray.ron, dir); |
| 261 | VSUM(thisray.rop, org, dir, 1e-4); | |
| 262 | samplendx++; /* compute result */ | |
| 263 | (*ofun[Lamb.otype].funp)(&Lamb, &thisray); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |