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

Method isZero

include/math.hpp:278–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 return x == b.x && y == b.y;
277 }
278 bool isZero() const {
279 return x == 0.f && y == 0.f;
280 }
281 bool isFinite() const {
282 return std::isfinite(x) && std::isfinite(y);
283 }

Callers 3

renderMethod · 0.80
stepMethod · 0.80
onHoverMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected