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.20 by greg, Wed May 27 08:37:26 2015 UTC vs.
Revision 2.21 by greg, Wed May 27 08:42:06 2015 UTC

# Line 23 | Line 23 | extern "C" {
23  
24   #else
25  
26 extern long  lrand48();
27 extern double  drand48();
28
26   #define  random()       lrand48()
27   #define  srandom(s)     srand48((long)(s))
28   #define  frandom()      drand48()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines