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

◆ cos16lut()

FASTLED_FORCE_INLINE i16 fl::cos16lut ( u16 angle)

Definition at line 128 of file sin32.h.

128 {
129 u32 angle32 = static_cast<u32>(angle) << 8;
130 return static_cast<i16>(cos32(angle32) >> 16);
131}
FASTLED_FORCE_INLINE i32 cos32(u32 angle) FL_NOEXCEPT
Definition sin32.h:81

References cos32(), FASTLED_FORCE_INLINE, and FL_NOEXCEPT.

+ Here is the call graph for this function: