MCPcopy Create free account
hub / github.com/FastLED/FastLED / expand

Method expand

src/fl/math/geometry.h:457–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455 bool empty() const FL_NOEXCEPT { return (mMin.x == mMax.x && mMin.y == mMax.y); }
456
457 void expand(const vec2<T> &p) FL_NOEXCEPT { expand(p.x, p.y); }
458
459 void expand(const rect &r) FL_NOEXCEPT {
460 expand(r.mMin);

Callers 1

geometry.cppFile · 0.45

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected