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.11 by schorsch, Thu Jun 5 19:29:34 2003 UTC vs.
Revision 2.13 by greg, Fri Jun 27 06:53:21 2003 UTC

# Line 2 | Line 2
2   /*
3   *  random.h - header file for random(3) and urand() function.
4   */
5 + #ifndef _RAD_RANDOM_H_
6 + #define _RAD_RANDOM_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
6 #include "copyright.h"
7
11   #ifdef  NORANDOM
12  
13   #undef  random
# Line 63 | Line 66 | extern int     urmask;
66  
67   #endif
68  
66 #ifdef NOPROTO
67
68 extern int      initurand();
69 extern int      ilhash();
70 extern int      urind();
71 extern void     multisamp();
72
73 #else
69                                  /* defined in urand.c */
70   extern int      initurand(int size);
71   extern int      ilhash(int *d, int n);
# Line 79 | Line 74 | extern int     urind(int s, int i);
74                                  /* defined in multisamp.c */
75   extern void     multisamp(double t[], int n, double r);
76  
77 +
78 + #ifdef __cplusplus
79 + }
80   #endif
81 + #endif /* _RAD_RANDOM_H_ */
82 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines