FastLED 3.10.6
Loading...
Searching...
No Matches

◆ unit()

float mood_ring::Xorshift::unit ( )

Uniform in [0, 1).

Definition at line 69 of file ring_canvas.cpp.

69 {
70 return static_cast<float>(next() >> 8) * (1.0f / 16777216.0f);
71}

References next().

+ Here is the call graph for this function: