FastLED 3.10.8
Loading...
Searching...
No Matches

◆ cos()

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

Compute cosine of 4 angles (in radians)

Definition at line 142 of file s16x16x4.h.

142 {
143 s16x16x4 sin_out, cos_out;
144 sincos(sin_out, cos_out);
145 return cos_out;
146 }
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:118

References FASTLED_FORCE_INLINE, and sincos().

+ Here is the call graph for this function: