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

Comparing ray/src/rt/srcsupp.c (file contents):
Revision 1.11 by greg, Wed Aug 14 08:19:20 1991 UTC vs.
Revision 1.12 by greg, Mon Aug 26 10:11:08 1991 UTC

# Line 392 | Line 392 | register RAY  *r;
392                  first = 0; last = nsources-1;
393          }
394          for (i = first; i <= last; i++)
395 <                if (source[i].sflags & SDISTANT)
395 >                if ((source[i].sflags & (SDISTANT|SVIRTUAL)) == SDISTANT)
396                          /*
397                           * Check to see if ray is within
398                           * solid angle of source.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines