|
FastLED 3.9.15
|
Fast, efficient 8-bit trigonometry functions specifically designed for high-performance LED programming.
Definition in file trig8.h.
Include dependency graph for trig8.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | __INC_LIB8TION_TRIG_H |
| const uint8_t | b_m16_interleave [] = {0, 49, 49, 41, 90, 27, 117, 10} |
| Pre-calculated lookup table used in sin8() and cos8() functions. | |
| LIB8STATIC int16_t | cos16 (uint16_t theta) |
| Fast 16-bit approximation of cos(x). | |
| LIB8STATIC uint8_t | cos8 (uint8_t theta) |
| Fast 8-bit approximation of cos(x). | |
| #define | sin16 sin16_C |
| Platform-independent alias of the fast sin implementation. | |
| LIB8STATIC int16_t | sin16_C (uint16_t theta) |
| Fast 16-bit approximation of sin(x). | |
| #define | sin8 sin8_C |
| Platform-independent alias of the fast sin implementation. | |
| LIB8STATIC uint8_t | sin8_C (uint8_t theta) |
| Fast 8-bit approximation of sin(x). | |