Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgRandom.cpp File Reference


Detailed Description

See SgRandom.h.

Definition in file SgRandom.cpp.

#include "SgSystem.h"
#include "SgRandom.h"
#include <cstdlib>
#include <functional>
#include "SgDebug.h"

Go to the source code of this file.

Functions

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


Function Documentation

float SgRandomFloat ( float  min,
float  max 
)

Get a random float in [min, max].

Used std::rand()

Definition at line 81 of file SgRandom.cpp.


17 Jun 2010 Doxygen 1.4.7