FastLED
3.9.15
Loading...
Searching...
No Matches
◆
VisitorFill()
fl::anonymous_namespace{gradient.cpp}::VisitorFill::VisitorFill
(
span
< const
u8
>
indices
,
span
<
CRGB
>
output
)
inline
Definition at line
42
of file
gradient.cpp
.
43
:
output
(
output
),
indices
(
indices
) {
44
// This assert was triggering on the corkscrew example. Not sure why
45
// but the corrective action of taking the min was corrective action.
46
// FASTLED_ASSERT(
47
// indices.size() == output.size(),
48
// "Gradient::fill: indices and output must be the same size"
49
// "\nSize was" << indices.size() << " and " << output.size());
50
n
=
MIN
(
indices
.size(),
output
.size());
51
}
MIN
#define MIN(a, b)
Definition
math_macros.h:49
fl::anonymous_namespace{gradient.cpp}::VisitorFill::indices
span< const u8 > indices
Definition
gradient.cpp:83
fl::anonymous_namespace{gradient.cpp}::VisitorFill::n
u8 n
Definition
gradient.cpp:84
fl::anonymous_namespace{gradient.cpp}::VisitorFill::output
span< CRGB > output
Definition
gradient.cpp:82
References
indices
,
MIN
,
n
, and
output
.
fl
anonymous_namespace{gradient.cpp}
VisitorFill
Generated on Sat Sep 20 2025 20:42:24 for FastLED by
1.13.2