ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/random.h
Revision: 1.3
Committed: Fri Nov 5 03:31:37 2004 UTC (19 years, 6 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
State: FILE REMOVED
Log Message:
Removed unused programs and files from distribution (sources to CVS attic)

File Contents

# Content
1 /* RCSid: $Id: random.h,v 1.2 2003/07/14 22:24:00 schorsch Exp $ */
2 /*
3 * random.h - header file for random(3) function.
4 *
5 * 10/1/85
6 */
7 #ifndef _RAD_META_RANDOM_H_
8 #define _RAD_META_RANDOM_H_
9
10 #include <stdlib.h>
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 #define frandom() (random()/2147483648.0)
17
18 #ifdef __cplusplus
19 }
20 #endif
21 #endif /* _RAD_META_RANDOM_H_ */
22