Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Classes | Functions

SgRandom.h File Reference

Random numbers. More...

#include <algorithm>
#include <list>
#include <boost/random/mersenne_twister.hpp>
#include "SgArray.h"

Go to the source code of this file.

Classes

class  SgRandom
 Random number generator. More...
struct  SgRandom::GlobalData

Functions

float SgRandomFloat (float min, float max)
 Get a random float in [min, max].

Detailed Description

Random numbers.

Definition in file SgRandom.h.


Function Documentation

float SgRandomFloat ( float  min,
float  max 
)

Get a random float in [min, max].

Used std::rand()

Definition at line 79 of file SgRandom.cpp.


Sun Mar 13 2011 Doxygen 1.7.1