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

◆ clampf()

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

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

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

Referenced by drawDot(), and flowPrepare().

+ Here is the caller graph for this function: