#include <randomizer.h>
|
static void | init () |
|
static double | get (unsigned int maxPercents) |
|
static double | get (const double *max) |
|
Library class for generating random numbers
static double AP_LSystem::Randomizer::get |
( |
unsigned int |
maxPercents | ) |
|
|
inlinestatic |
Returns random double number in percents with one decimal
- Parameters
-
maxPercents | maximum percents. Sets random number range as <-maxPercets, maxPercents>. |
- Returns
- random number
static double AP_LSystem::Randomizer::get |
( |
const double * |
max | ) |
|
|
inlinestatic |
Returns random double number with one decimal. This method is in form for using with FunctionParser.
- Parameters
-
max | maximum number. Sets random number range as <-max, max>. |
- Returns
- random number
static void AP_LSystem::Randomizer::init |
( |
void |
| ) |
|
|
inlinestatic |
Initialize random generator
The documentation for this class was generated from the following file:
- C:/Documents/School/OSG/VRECKO/include/vreckoAP/Garden/randomizer.h