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

◆ clamp_u8()

u8 fl::anonymous_namespace{perlin_particle_punch.cpp.hpp}::clamp_u8 ( float v)
inline

Definition at line 11 of file perlin_particle_punch.cpp.hpp.

11 {
12 if (v <= 0.0f) return 0;
13 if (v >= 255.0f) return 255;
14 return u8(v);
15}
unsigned char u8
Definition stdint.h:131

References clamp_u8().

Referenced by clamp_u8().

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