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 2.13 by greg, Wed Dec 31 02:03:08 2003 UTC vs.
Revision 2.14 by greg, Wed Dec 31 19:38:27 2003 UTC

# Line 59 | Line 59 | newsource()                    /* allocate new source in our array */
59          if (source == NULL)
60                  return(-1);
61          source[nsources].sflags = 0;
62 <        source[nsources].nhits = 0;
63 <        source[nsources].ntests = 1;    /* initial hit probability = 0 */
62 >        source[nsources].nhits = 1;
63 >        source[nsources].ntests = 2;    /* initial hit probability = 50% */
64   #if SHADCACHE
65          source[nsources].obscache = NULL;
66   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines