FastLED 3.9.15
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 121 of file tile2x2.cpp.hpp.

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

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

Referenced by fl::sstream::operator<<().

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