FastLED 3.9.15
|
LIB8STATIC int16_t cos16 | ( | uint16_t | theta | ) |
Fast 16-bit approximation of cos(x).
This approximation never varies more than 0.69% from the floating point value you'd get by doing
theta | input angle from 0-65535 |
Definition at line 143 of file trig8.h.
References LIB8STATIC, and sin16.
Referenced by loop().