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 1.10 by greg, Thu Jun 8 17:04:43 1989 UTC vs.
Revision 1.11 by greg, Tue Jun 13 08:20:22 1989 UTC

# Line 339 | Line 339 | char  *p;                      /* data for f */
339          }
340                                                  /* sort contributions */
341          qsort(cntord, nsources, sizeof(CNTPTR), cntcmp);
342 <        hit2 = 0.0; test2 = FTINY;
342 >        hit2 = 0.5; test2 = 1.0;                /* start with prob=.5 */
343                                                  /* test for shadows */
344          for (sn = 0; sn < nsources; sn++) {
345                                                  /* check threshold */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines