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

Method inf

include/math.hpp:319–321  ·  view source on GitHub ↗

Returns the infinite Rect. */

Source from the content-addressed store, hash-verified

317 }
318 /** Returns the infinite Rect. */
319 static Rect inf() {
320 return Rect(Vec(-INFINITY, -INFINITY), Vec(INFINITY, INFINITY));
321 }
322
323 /** Returns whether this Rect contains a point, inclusive on the left/top, exclusive on the right/bottom.
324 Correctly handles infinite Rects.

Callers

nothing calls this directly

Calls 2

RectClass · 0.85
VecClass · 0.85

Tested by

no test coverage detected