FastLED
3.9.15
Loading...
Searching...
No Matches
◆
cos16lut()
static
FASTLED_FORCE_INLINE
i16 fl::cos16lut
(
u16
angle
)
static
Definition at line
64
of file
sin32.h
.
64
{
65
u8
angle256 = angle / 256;
66
i32 subAngle = angle % 256;
67
return
(
cosArray
[angle256] * (256 - subAngle) +
68
cosArray
[angle256 + 1] * subAngle) /
69
256;
70
}
fl::u8
unsigned char u8
Definition
int.h:17
fl::cosArray
const i16 * cosArray
Definition
sin32.cpp:48
References
cosArray
, and
FASTLED_FORCE_INLINE
.
fl
Generated on Fri Aug 22 2025 20:59:36 for FastLED by
1.13.2