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.12 by schorsch, Fri Jun 6 16:38:47 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  
11 +
12   #include "copyright.h"
13  
14   #ifdef  NORANDOM
# Line 63 | Line 69 | extern int     urmask;
69  
70   #endif
71  
66 #ifdef NOPROTO
67
68 extern int      initurand();
69 extern int      ilhash();
70 extern int      urind();
71 extern void     multisamp();
72
73 #else
72                                  /* defined in urand.c */
73   extern int      initurand(int size);
74   extern int      ilhash(int *d, int n);
# Line 79 | Line 77 | extern int     urind(int s, int i);
77                                  /* defined in multisamp.c */
78   extern void     multisamp(double t[], int n, double r);
79  
80 +
81 + #ifdef __cplusplus
82 + }
83   #endif
84 + #endif /* _RAD_RANDOM_H_ */
85 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines