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

Method getTopLeft

include/math.hpp:371–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369 return pos.plus(size.mult(0.5f));
370 }
371 Vec getTopLeft() const {
372 return pos;
373 }
374 Vec getTopRight() const {
375 return Vec(getRight(), getTop());
376 }

Callers 7

renderMethod · 0.80
json_array_foreachFunction · 0.80
setModulePosForceMethod · 0.80
updateExpandersMethod · 0.80
drawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected