Functions | |
double | randomDouble () |
int | randomInt (const int x, const int y) |
unsigned int | randomInt (const unsigned int x, const unsigned int y) |
double randomUtils::randomDouble | ( | ) |
Copyright (C) 2007 A.N. Yzelman Released under LGPL, see license.txt
Last modified at 12th of April, 2007, by A.N. Yzelman
randomUtils.cpp: Implementation of randomUtils.h
Definition at line 13 of file randomUtils.cpp.
Referenced by randomInt().
unsigned int randomUtils::randomInt | ( | const unsigned int | x, | |
const unsigned int | y | |||
) |
Gets a random integer in between [x,y); y excluded.
Definition at line 24 of file randomUtils.cpp.
References randomDouble().
int randomUtils::randomInt | ( | const int | x, | |
const int | y | |||
) |
Gets a random integer in between [x,y); y excluded.
Definition at line 17 of file randomUtils.cpp.
References randomDouble().
Referenced by Ordering< Cubic_Bounding_Box >::quicksort().