FastLED
3.10.10
Loading...
Searching...
No Matches
◆
wrap()
static
vec2
< u16 > fl::anonymous_namespace{tile2x2.cpp.hpp}::wrap
(
const
vec2
< u16 > &
v
,
const
vec2
< u16 > &
size
)
static
Definition at line
16
of file
tile2x2.cpp.hpp
.
16
{
17
// Wrap the vector v around the size
18
return
vec2<u16>
(v.
x
% size.
x
, v.
y
% size.
y
);
19
}
fl::vec2::y
value_type y
Definition
geometry.h:191
fl::vec2::x
value_type x
Definition
geometry.h:190
fl::vec2
Definition
geometry.h:187
References
fl::FL_NO_EXCEPT
.
fl
anonymous_namespace{tile2x2.cpp.hpp}
Generated on Fri Nov 20 2026 09:22:10 for FastLED by
1.13.2