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

◆ calculateCorkscrewWidth()

fl::u16 fl::calculateCorkscrewWidth ( float totalTurns,
fl::u16 numLeds )
constexpr

Definition at line 53 of file corkscrew.h.

53 {
54 return static_cast<fl::u16>(ceil_constexpr(static_cast<float>(numLeds) / totalTurns));
55}
constexpr int ceil_constexpr(float value)
Definition math.h:72

References ceil_constexpr().

Referenced by calculateCorkscrewHeight().

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