FastLED 3.9.15
Loading...
Searching...
No Matches

◆ wrap()

static vec2< u16 > fl::anonymous_namespace{tile2x2.cpp}::wrap ( const vec2< u16 > & v,
const vec2< u16 > & size )
static

Definition at line 15 of file tile2x2.cpp.

15 {
16 // Wrap the vector v around the size
17 return vec2<u16>(v.x % size.x, v.y % size.y);
18}
value_type y
Definition geometry.h:191
value_type x
Definition geometry.h:190

References wrap(), fl::vec2< T >::x, and fl::vec2< T >::y.

Referenced by wrap().

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