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

Method step

include/componentlibrary.hpp:720–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718 }
719
720 void step() override {
721 TBase::step();
722 // Move center of light to center of handle
723 light->box.pos = this->handle->box.pos
724 .plus(this->handle->box.size.div(2))
725 .minus(light->box.size.div(2));
726 }
727};
728
729template <typename TBase>

Callers

nothing calls this directly

Calls 4

stepFunction · 0.85
minusMethod · 0.80
plusMethod · 0.80
divMethod · 0.80

Tested by

no test coverage detected