FastLED 3.9.15
Loading...
Searching...
No Matches

◆ default_random()

math::random & fl::default_random ( )

Global default random number generator instance.

All threads share a single Singleton<LockedRandom> so no two threads can produce duplicate sequences from identical seeds.

Definition at line 16 of file random.cpp.hpp.

16 {
18}
static T & instance() FL_NOEXCEPT
Definition singleton.h:41

References fl::Singleton< T, N >::instance().

Referenced by shuffle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: