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.16 by greg, Wed Apr 5 06:22:56 2006 UTC vs.
Revision 2.17 by greg, Wed Apr 5 15:21:53 2006 UTC

# Line 41 | Line 41 | extern double  drand48();
41   extern unsigned short   *urperm;
42   extern int      urmask;
43  
44 < #define  urand(i)       (urmask ? ((urperm[(i)&urmask]+frandom())/(urmask+1)) \
44 > #define  urand(i)       (urmask ? (urperm[(i)&urmask]+frandom())/(urmask+1) \
45                                  : frandom())
46  
47   extern int      initurand(int size);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines