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

◆ cos()

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

Compute cosine of 4 angles (in radians)

Definition at line 138 of file s16x16x4.h.

138 {
139 s16x16x4 sin_out, cos_out;
140 sincos(sin_out, cos_out);
141 return cos_out;
142 }
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.