MCPcopy Create free account
hub / github.com/FastLED/FastLED / sin16

Function sin16

src/platforms/trig8.h:44–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42#if defined(USE_SIN_32)
43
44inline i16 sin16(u16 theta) { return fl::sin16lut(theta); }
45inline i16 cos16(u16 theta) { return fl::cos16lut(theta); }
46
47// 8-bit wrappers derived from 16-bit LUTs.

Callers 5

sin8Function · 0.70
pacifica_one_layerMethod · 0.50
drawMethod · 0.50
beat.hFile · 0.50
transformMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected