reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofRandomEngine.h File Reference
#include <random>
#include <glm/glm.hpp>
#include "ofSingleton.hpp"
#include "ofMath.h"

Go to the source code of this file.

Classes

class  of::random::Engine
 

Namespaces

namespace  of
 
namespace  of::random
 

Functions

auto of::random::engine ()
 
auto & of::random::gen ()
 
void of::random::seed (unsigned long seed)
 Passes a value to seed the mt19937 generator within the ending instance.
 
template<class T >
void of::random::shuffle (T &values)
 Shuffles the order of the elements within the passed container, using the centralized random engine.