FastLED 3.10.8
Loading...
Searching...
No Matches

◆ bounds()

rect< u16 > fl::Tile2x2_u8::bounds ( ) const

bounds => [begin_x, end_x) (where end_x is exclusive)

Definition at line 122 of file tile2x2.cpp.hpp.

122 {
123 vec2<u16> min = mOrigin;
124 vec2<u16> max = mOrigin + vec2<u16>(2, 2);
125 return rect<u16>(min, max);
126}
vec2< u16 > mOrigin
Definition tile2x2.h:94
constexpr common_type_t< T, U > max(T a, U b) FL_NO_EXCEPT
Definition math.h:75
FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > min(T a, U b) FL_NO_EXCEPT
Definition math.h:71

References fl::FL_NO_EXCEPT, fl::max(), fl::min(), and mOrigin.

+ Here is the call graph for this function: