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

Comparing ray/src/rt/source.c (file contents):
Revision 2.54 by greg, Wed Jul 12 05:47:05 2006 UTC vs.
Revision 2.55 by greg, Thu Sep 7 05:20:54 2006 UTC

# Line 457 | Line 457 | direct(                                        /* add direct component */
457                          raycont(&sr);
458                          if (trace != NULL)
459                                  (*trace)(&sr);  /* trace execution */
460                        rayparticipate(&sr);
460                          if (bright(sr.rcol) <= FTINY) {
461   #if SHADCACHE
462                                  if ((scp <= srccnt || scp[-1].sno != scp->sno)
# Line 467 | Line 466 | direct(                                        /* add direct component */
466   #endif
467                                  continue;       /* missed! */
468                          }
469 +                        rayparticipate(&sr);
470                          multcolor(sr.rcol, sr.rcoef);
471                          copycolor(scp->val, sr.rcol);
472                  } else if (trace != NULL &&

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines