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

◆ sin()

FASTLED_FORCE_INLINE s16x16x4 fl::s16x16x4::sin ( ) const
inline

Compute sine of 4 angles (in radians)

Definition at line 131 of file s16x16x4.h.

131 {
132 s16x16x4 sin_out, cos_out;
133 sincos(sin_out, cos_out);
134 return sin_out;
135 }
FASTLED_FORCE_INLINE void sincos(s16x16x4 &out_sin, s16x16x4 &out_cos) const
Compute sin and cos of 4 angles (in radians) Results written to out_sin and out_cos.
Definition s16x16x4.h:114

References FASTLED_FORCE_INLINE.