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

Method getMin

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

Source from the content-addressed store, hash-verified

308 vec2 getMax(const vec2 &p) const FL_NOEXCEPT { return vec2(fl::max(x, p.x), fl::max(y, p.y)); }
309
310 vec2 getMin(const vec2 &p) const FL_NOEXCEPT { return vec2(fl::min(x, p.x), fl::min(y, p.y)); }
311
312 template <typename U> vec2<U> cast() const FL_NOEXCEPT {
313 return vec2<U>(static_cast<U>(x), static_cast<U>(y));

Callers

nothing calls this directly

Calls 1

vec2Class · 0.70

Tested by

no test coverage detected