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.13 by greg, Sun Dec 7 19:25:23 2008 UTC vs.
Revision 2.14 by greg, Wed Dec 10 07:07:07 2008 UTC

# Line 71 | Line 71 | nextsample:
71                                          /* avoid circular aiming failures */
72          if ((source[si->sn].sflags & SCIR) && (si->np > 1 || dstrsrc > 0.7)) {
73                  FVECT   trim;
74                double  d;
74                  if (source[si->sn].sflags & (SFLAT|SDISTANT)) {
75                          d = 1.12837917;         /* correct setflatss() */
76                          trim[SU] = d*sqrt(1.0 - 0.5*vpos[SV]*vpos[SV]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines