ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/urand.c
(Generate patch)

Comparing ray/src/common/urand.c (file contents):
Revision 1.3 by greg, Tue May 21 11:01:00 1991 UTC vs.
Revision 1.5 by greg, Fri Jun 7 10:50:14 1991 UTC

# Line 5 | Line 5 | static char SCCSid[] = "$SunId$ LBL";
5   #endif
6  
7   /*
8 < * Uncorrelated (anticorrelated) random function
8 > * Anticorrelated random function due to Christophe Schlick
9   */
10  
11   #include  "random.h"
# Line 53 | Line 53 | register int  *d;
53   register int  n;
54   {
55          static int  tab[8] = {13623,353,1637,5831,2314,3887,5832,8737};
56 <        register unsigned  hval;
56 >        register int  hval;
57  
58          hval = 0;
59          while (n-- > 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines