ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rcontrib.c
(Generate patch)

Comparing ray/src/rt/rcontrib.c (file contents):
Revision 2.14 by greg, Wed Jun 27 15:32:58 2012 UTC vs.
Revision 2.15 by greg, Fri Jul 13 05:07:06 2012 UTC

# 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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines