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.23 by schorsch, Sun Mar 6 01:13:17 2016 UTC vs.
Revision 2.24 by greg, Thu Apr 21 02:52:40 2022 UTC

# Line 35 | Line 35 | extern int     urmask;
35   #define  urand(i)       (urmask ? (urperm[(i)&urmask]+frandom())/(urmask+1.) \
36                                  : frandom())
37  
38 +                                /* defined in urand.c */
39 + extern long     irandom(long modulus);
40 +
41   extern int      initurand(int size);
42  
40                                /* defined in urand.c */
43   extern int      ilhash(int *d, int n);
44 <                                /* defined in urind.c */
44 >
45   extern int      urind(int s, int i);
46                                  /* defined in multisamp.c */
47   extern void     multisamp(double t[], int n, double r);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines