FastLED 3.10.8
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}
value_type y
Definition geometry.h:191
value_type x
Definition geometry.h:190

References fl::FL_NO_EXCEPT, and wrap().

Referenced by wrap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: