summaryrefslogtreecommitdiffstats
path: root/src/VBox/GuestHost/OpenGL/include/cr_rand.h
blob: 73f5e7c5f5976d6a6ad4aa2fa14e3336fa7b7914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Copyright (c) 2001, Stanford University
 * All rights reserved.
 *
 * See the file LICENSE.txt for information on redistributing this software.
 */

#ifndef CR_RAND_H
#define CR_RAND_H

#include <iprt/cdefs.h>

#ifdef __cplusplus
extern "C" {
#endif

DECLEXPORT(void) crRandSeed( unsigned long seed );
DECLEXPORT(void) crRandAutoSeed(void);
DECLEXPORT(float) crRandFloat( float min, float max );
DECLEXPORT(int) crRandInt( int min, int max );

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /* CR_RAND_H */