MCPcopy Create free account
hub / github.com/VCVRack/Rack / min

Method min

include/math.hpp:257–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 return Vec(y, x);
256 }
257 Vec min(Vec b) const {
258 return Vec(std::fmin(x, b.x), std::fmin(y, b.y));
259 }
260 Vec max(Vec b) const {
261 return Vec(std::fmax(x, b.x), std::fmax(y, b.y));
262 }

Callers 4

json_array_foreachFunction · 0.45
fromCornersMethod · 0.45

Calls 2

VecClass · 0.85
fminFunction · 0.85

Tested by

no test coverage detected