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

Comparing ray/src/common/random.h (file contents):
Revision 2.5 by gregl, Mon Dec 1 09:55:00 1997 UTC vs.
Revision 2.6 by gregl, Mon Jan 5 16:42:49 1998 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1997 Silicon Graphics, Inc. */
1 > /* Copyright (c) 1998 Silicon Graphics, Inc. */
2  
3   /* SCCSid "$SunId$ SGI" */
4  
# Line 39 | Line 39 | extern double  drand48();
39  
40   #else
41  
42 < extern short    *urperm;
42 > extern unsigned short   *urperm;
43   extern int      urmask, initurand();
44  
45   #define  urand(i)       ((urperm[(i)&urmask]+frandom())/(urmask+1))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines