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

◆ wrap_x()

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

Definition at line 20 of file tile2x2.cpp.

20 {
21 // Wrap the x component of the vector v around the size
22 return vec2<u16>(v.x % width, v.y);
23}
value_type y
Definition geometry.h:191
value_type x
Definition geometry.h:190

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

Referenced by wrap_x().

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