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

◆ perlinCoord()

FASTLED_FORCE_INLINE i32 fl::anonymous_namespace{chasing_spirals.cpp.hpp}::perlinCoord ( i32 sc_val,
i32 dist_raw,
i32 offset )

Definition at line 65 of file chasing_spirals.cpp.hpp.

65 {
66 return offset - static_cast<i32>((static_cast<i64>(sc_val) * dist_raw) >> 31);
67}
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)
fl::i64 i64
Definition s16x16x4.h:222

References FASTLED_FORCE_INLINE, offset(), and perlinCoord().

Referenced by perlinCoord().

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