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

◆ fmodPos()

float fl::FlowFieldFloat::fmodPos ( float x,
float m )
staticprivate

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

137 {
138 float r = fmodf(x, m);
139 return r < 0.0f ? r + m : r;
140}
float fmodf(float x, float y) FL_NOEXCEPT
Definition math.h:336

References fl::fmodf(), and fl::x.

Referenced by flowAdvect(), and rainbow().

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