VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/include/cr_rand.h@ 27708

Last change on this file since 27708 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 516 bytes
Line 
1/* Copyright (c) 2001, Stanford University
2 * All rights reserved.
3 *
4 * See the file LICENSE.txt for information on redistributing this software.
5 */
6
7#ifndef CR_RAND_H
8#define CR_RAND_H
9
10#include <iprt/cdefs.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16DECLEXPORT(void) crRandSeed( unsigned long seed );
17DECLEXPORT(void) crRandAutoSeed(void);
18DECLEXPORT(float) crRandFloat( float min, float max );
19DECLEXPORT(int) crRandInt( int min, int max );
20
21#ifdef __cplusplus
22} /* extern "C" */
23#endif
24
25#endif /* CR_RAND_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette