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

◆ u16x16() [2/5]

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

Definition at line 29 of file u16x16.h.

30 : mValue(static_cast<u32>(f * (SCALE))) {}
u32 mValue
Definition u16x16.h:210
static constexpr i32 SCALE
Definition u16x16.h:23

References u16x16(), constexpr, fl::FL_NO_EXCEPT, mValue, and SCALE.

+ Here is the call graph for this function: