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 2.19 by greg, Tue Jul 15 23:44:53 2014 UTC vs.
Revision 2.20 by greg, Tue Jun 11 17:00:59 2019 UTC

# Line 84 | Line 84 | nextsample:
84  
85          VSUM(vpos, vpos, cent, 1.0/MAXSPART);
86                                          /* avoid circular aiming failures */
87 <        if ((srcp->sflags & SCIR) && (si->np > 1 || dstrsrc > 0.7)) {
87 >        if ((srcp->sflags & SCIR) && (si->np > 1) | (dstrsrc > 0.7)) {
88                  FVECT   trim;
89                  if (srcp->sflags & (SFLAT|SDISTANT)) {
90                          d = 1.12837917;         /* correct setflatss() */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines