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

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.74 by greg, Tue Jan 8 00:16:31 2019 UTC vs.
Revision 2.75 by greg, Thu Mar 28 16:33:36 2019 UTC

# Line 343 | Line 343 | rayirrad(                      /* compute irradiance rather than radiance
343   )
344   {
345          void    (*old_revf)(RAY *) = r->revf;
346 <
347 <        r->rot = 1e-5;                  /* pretend we hit surface */
346 >                                        /* pretend we hit surface */
347 >        r->rxt = r->rmt = r->rot = 1e-5;
348          VSUM(r->rop, r->rorg, r->rdir, r->rot);
349          r->ron[0] = -r->rdir[0];
350          r->ron[1] = -r->rdir[1];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines