Random Class Reference

#include <Random.h>

Description

Convenient RNG.

Static Functions

static void Seed ()
 
static void Seed (uint64_t)
 
static float Value ()
 
static float Spread (float min, float max)
 
static int Integer (int max)
 
static Dynacoe::Vector Vector ()
 

Member Function Documentation

static void Seed ( )
static

Seeds the random number generator.

static void Seed ( uint64_t  )
static

Seeds the random number generator with a specified number.

static float Value ( )
static

Returns a random value between 0 and 1.

static float Spread ( float  min,
float  max 
)
static

Returns a random value between min and max.

static int Integer ( int  max)
static

Returns a random integer between 0 and max.

static Dynacoe::Vector Vector ( )
static

Returns a random point within the unit sphere.


The documentation for this class was generated from the following file:
  • /home/jc/git/Dynacoe/DynacoeSrc/includes/Dynacoe/Util/Random.h