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