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.43 by greg, Tue Aug 13 12:16:37 1991 UTC vs.
Revision 1.44 by greg, Thu Aug 22 11:56:55 1991 UTC

# Line 141 | Line 141 | register int  sn;              /* source number */
141          if (dstrsrc > FTINY) {
142                                          /* distribute source direction */
143                  dimlist[ndims] = sn + 8831;
144 <                peano(vd, 3, urand(ilhash(dimlist,ndims+1)+samplendx), .01);
144 >                multisamp(vd, 3, urand(ilhash(dimlist,ndims+1)+samplendx));
145                  for (i = 0; i < 3; i++)
146                          vd[i] = dstrsrc * source[sn].ss * (1. - 2.*vd[i]);
147                  if (source[sn].sflags & SFLAT) {        /* project offset */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines