FastLED 3.10.6
Loading...
Searching...
No Matches

◆ sin16lut()

FASTLED_FORCE_INLINE i16 fl::sin16lut ( u16 angle)

Definition at line 119 of file sin32.h.

119 {
120 u32 angle32 = static_cast<u32>(angle) << 8;
121 return static_cast<i16>(sin32(angle32) >> 16);
122}
FASTLED_FORCE_INLINE i32 sin32(u32 angle) FL_NO_EXCEPT
Definition sin32.h:57

References FASTLED_FORCE_INLINE, FL_NO_EXCEPT, and sin32().

+ Here is the call graph for this function: