Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Functions

SgRandom.cpp File Reference

See SgRandom.h. More...

#include "SgSystem.h"
#include "SgRandom.h"
#include <ctime>
#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].

Detailed Description

See SgRandom.h.

Definition in file SgRandom.cpp.


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