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

◆ floor() [2/2]

static constexpr FASTLED_FORCE_INLINE s16x16 fl::s16x16::floor ( s16x16 x)
inlinestaticconstexpr

Definition at line 159 of file s16x16.h.

159 {
160 return from_raw(x.mValue & ~(i32((SCALE) - 1)));
161 }
static constexpr i32 SCALE
Definition s16x16.h:25
static constexpr FASTLED_FORCE_INLINE s16x16 from_raw(i32 raw) FL_NO_EXCEPT
Definition s16x16.h:56

References s16x16(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, from_raw(), SCALE, and fl::x.

Referenced by fl::FlowFieldFP::drawDot().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: