ImFusion SDK 4.3
ImFusion::Random Namespace Reference

Random number generation with convenience functions More...

Detailed Description

Random number generation with convenience functions

Classes

class  Generator
 Convenience class for generating random numbers from various distributions. More...
 
class  Pcg64Engine
 Wrapper class for a 64-bit PCG engine. More...
 

Functions

template<typename T>
nextFloat (T n)
 

Free functions

GeneratorglobalGenerator ()
 Returns a thread-safe default-seeded generator (singleton)
 
template<typename T>
nextReal (T n)
 Returns the next number representable by T.
 
template<typename T>
previousReal (T n)
 Returns the previous number representable by T.
 
Search Tab / S to search, Esc to close