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

Method contains

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

Source from the content-addressed store, hash-verified

469 }
470
471 bool contains(const vec2<T> &p) const FL_NOEXCEPT {
472 return (p.x >= mMin.x && p.x < mMax.x && p.y >= mMin.y && p.y < mMax.y);
473 }
474
475 bool contains(const T &x, const T &y) const FL_NOEXCEPT {
476 return contains(vec2<T>(x, y));

Callers 2

parseV2SegmentArrayFunction · 0.45
ParseJsonMethod · 0.45

Calls 1

containsFunction · 0.85

Tested by

no test coverage detected