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

◆ cos16lut()

FASTLED_FORCE_INLINE i16 fl::cos16lut ( u16 angle)

Definition at line 126 of file sin32.h.

126 {
127 u32 angle32 = static_cast<u32>(angle) << 8;
128 return static_cast<i16>(cos32(angle32) >> 16);
129}
FASTLED_FORCE_INLINE i32 cos32(u32 angle) FL_NO_EXCEPT
Definition sin32.h:79

References cos32(), FASTLED_FORCE_INLINE, and FL_NO_EXCEPT.

+ Here is the call graph for this function: