FastLED 3.10.8
Loading...
Searching...
No Matches

◆ clampf()

float fl::FlowFieldFloat::clampf ( float v,
float lo,
float hi )
staticprivate

Definition at line 143 of file flowfield.cpp.hpp.

143 {
144 return (v < lo) ? lo : (v > hi) ? hi : v;
145}

References fl::FL_NO_EXCEPT.

Referenced by drawDot(), and flowPrepare().

+ Here is the caller graph for this function: