From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_random_8h_source.html | 152 ++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 Doc/doxygen/html/_random_8h_source.html (limited to 'Doc/doxygen/html/_random_8h_source.html') diff --git a/Doc/doxygen/html/_random_8h_source.html b/Doc/doxygen/html/_random_8h_source.html new file mode 100644 index 0000000..9efe83c --- /dev/null +++ b/Doc/doxygen/html/_random_8h_source.html @@ -0,0 +1,152 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/Random.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Random.h
+
+
+Go to the documentation of this file.
1 /* Project nGenEx
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2004. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: nGenEx.lib
+
6  FILE: Random.cpp
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  Utility functions for generating random numbers and locations.
+
13 */
+
14 
+
15 #ifndef Random_h
+
16 #define Random_h
+
17 
+
18 #include "Types.h"
+
19 #include "Geometry.h"
+
20 
+
21 // +----------------------------------------------------------------------+
+
22 
+
23 void RandomInit();
+ + +
26 Vec3 RandomVector(double radius);
+
27 double Random(double min=0, double max=1);
+
28 int RandomIndex();
+
29 bool RandomChance(int wins=1, int tries=2);
+
30 int RandomSequence(int current, int range);
+
31 int RandomShuffle(int count);
+
32 
+
33 // +----------------------------------------------------------------------+
+
34 
+
35 #endif Random_h
+
+
+ + + + -- cgit v1.1