Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ fmodPos
Method
fmodPos
src/fl/fx/2d/flowfield.cpp.hpp:137–140 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
135
}
136
137
float FlowFieldFloat::fmodPos(float x, float m) {
138
float r = fmodf(x, m);
139
return r < 0.0f ? r + m : r;
140
}
141
142
float FlowFieldFloat::clampf(float v, float lo, float hi) {
143
return (v < lo) ? lo : (v > hi) ? hi : v;
Callers
nothing calls this directly
Calls
1
fmodf
Function · 0.85
Tested by
no test coverage detected