summaryrefslogtreecommitdiffstats
path: root/src/VBox/GuestHost/OpenGL/include/cr_rand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/GuestHost/OpenGL/include/cr_rand.h')
-rw-r--r--src/VBox/GuestHost/OpenGL/include/cr_rand.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/VBox/GuestHost/OpenGL/include/cr_rand.h b/src/VBox/GuestHost/OpenGL/include/cr_rand.h
new file mode 100644
index 00000000..73f5e7c5
--- /dev/null
+++ b/src/VBox/GuestHost/OpenGL/include/cr_rand.h
@@ -0,0 +1,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 */