FastLED 3.10.8
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 66 of file chasing_spirals.cpp.hpp.

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

References FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, offset(), and perlinCoord().

Referenced by perlinCoord().

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