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

◆ fmodPos()

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

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

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

References fl::FL_NO_EXCEPT, 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: