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

◆ u16x16() [2/5]

fl::u16x16::u16x16 ( float f)
inlineexplicitconstexpr

Definition at line 28 of file u16x16.h.

29 : mValue(static_cast<u32>(f * (SCALE))) {}
u32 mValue
Definition u16x16.h:201
static constexpr i32 SCALE
Definition u16x16.h:22

References u16x16(), constexpr, FL_NOEXCEPT, mValue, and SCALE.

+ Here is the call graph for this function: