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 2.2 by greg, Sat Sep 5 13:40:55 1992 UTC vs.
Revision 2.3 by gregl, Mon Dec 1 09:55:00 1997 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1992 Regents of the University of California */
1 > /* Copyright (c) 1997 Silicon Graphics, Inc. */
2  
3   #ifndef lint
4 < static char SCCSid[] = "$SunId$ LBL";
4 > static char SCCSid[] = "$SunId$ SGI";
5   #endif
6  
7   /*
# Line 18 | Line 18 | short  *urperm = NULL; /* urand() permutation */
18   int  urmask;            /* bits used in permutation */
19  
20  
21 + int
22   initurand(size)         /* initialize urand() for size entries */
23   int  size;
24   {
# Line 46 | Line 47 | int  size;
47                          else
48                                  urperm[i+offset]++;
49                  }
50 +        return(1<<order);
51   }
52  
53  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines