NGL
6.5
The NCCA Graphics Library

an encapsulation of the std::random classes More...
#include "Colour.h"
#include "Singleton.h"
#include "Vec4.h"
#include <unordered_map>
#include <random>
Go to the source code of this file.
Classes  
class  ngl::Random 
wrapper for std random and distribution functions, it will generate two basic random functions for RandPositiveFloat (01) and RandFloat() +/ 1 these are also overloaded to have a param for range added to this are functions for Random Colours and Vectors and Points and also the ability to add other distributions random library. More...  
Namespaces  
ngl  
implementation files for RibExport class  
Enumerations  
enum  ngl::RANDDIST { ngl::RANDDIST::uniform_smallint, ngl::RANDDIST::uniform_int, ngl::RANDDIST::uniform_real, ngl::RANDDIST::bernoulli_distribution, ngl::RANDDIST::binomial_distribution, ngl::RANDDIST::cauchy_distribution, ngl::RANDDIST::gamma_distribution, ngl::RANDDIST::poisson_distribution, ngl::RANDDIST::geometric_distribution, ngl::RANDDIST::triangle_distribution, ngl::RANDDIST::exponential_distribution, ngl::RANDDIST::normal_distribution, ngl::RANDDIST::lognormal_distribution } 
enumerated list of the different distributions we can add to the generator, More...  
an encapsulation of the std::random classes
Copyright (C) 2010 Jon Macey
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file Random.h.