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

Comparing ray/src/rt/srcsamp.c (file contents):
Revision 1.6 by greg, Wed Oct 23 13:43:52 1991 UTC vs.
Revision 1.7 by greg, Mon Oct 28 08:07:44 1991 UTC

# Line 28 | Line 28 | register SRCINDEX  *si;                /* source index (modified to
28          while (++si->sp >= si->np) {    /* get next sample */
29                  if (++si->sn >= nsources)
30                          return(0.0);    /* no more */
31 <                if (srcsizerat <= FTINY)
31 >                if (source[si->sn].sflags & SSKIP)
32 >                        si->np = 0;
33 >                else if (srcsizerat <= FTINY)
34                          nopart(si, r);
35                  else {
36                          for (i = si->sn; source[i].sflags & SVIRTUAL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines