vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AP_LSystem::Randomizer Class Reference

#include <randomizer.h>

Static Public Member Functions

static void init ()
 
static double get (unsigned int maxPercents)
 
static double get (const double *max)
 

Detailed Description

Library class for generating random numbers

Member Function Documentation

static double AP_LSystem::Randomizer::get ( unsigned int  maxPercents)
inlinestatic

Returns random double number in percents with one decimal

Parameters
maxPercentsmaximum 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
maxmaximum 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: