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

Method getValue

src/app/MenuBar.cpp:186–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 APP->scene->rackScroll->setZoom(std::pow(2.f, value));
185 }
186 float getValue() override {
187 return std::log2(APP->scene->rackScroll->getZoom());
188 }
189 float getMinValue() override {
190 return -2.f;
191 }

Callers

nothing calls this directly

Calls 2

log2Function · 0.50
getZoomMethod · 0.45

Tested by

no test coverage detected