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

◆ MaxTile()

Tile2x2_u8 fl::Tile2x2_u8::MaxTile ( const Tile2x2_u8 & a,
const Tile2x2_u8 & b )
static

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

111 {
113 for (int x = 0; x < 2; ++x) {
114 for (int y = 0; y < 2; ++y) {
115 result.at(x, y) = fl::max(a.at(x, y), b.at(x, y));
116 }
117 }
118 return result;
119}
Tile2x2_u8() FL_NOEXCEPT=default
constexpr common_type_t< T, U > max(T a, U b) FL_NOEXCEPT
Definition math.h:75
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References Tile2x2_u8(), at(), fl::max(), fl::x, and fl::y.

+ Here is the call graph for this function: