FastLED
3.10.10
Loading...
Searching...
No Matches
◆
polyABToQ16< fl::s16x16 >()
template<>
fl::i32
fl::gfx::detail::polyABToQ16
<
fl::s16x16
>
(
fl::s16x16
val
)
inline
Definition at line
162
of file
poly_abuffer.h
.
162
{
163
const
fl::i32 r = val.
raw
();
164
if
(r >
polyABQ16Max
)
return
polyABQ16Max
;
165
if
(r < -
polyABQ16Max
)
return
-
polyABQ16Max
;
166
return
r;
167
}
fl::s16x16::raw
constexpr i32 raw() const FL_NO_EXCEPT
Definition
s16x16.h:62
fl::gfx::detail::polyABQ16Max
static const fl::i32 polyABQ16Max
Maximum |vertex coordinate| accepted, in Q16.16 units (8191 px keeps all values and edge deltas in i3...
Definition
poly_abuffer.h:116
References
fl::FL_NO_EXCEPT
, and
polyABQ16Max
.
fl
gfx
detail
Generated on Fri Nov 20 2026 09:22:13 for FastLED by
1.13.2