MCPcopy Create free account
hub / github.com/braitsch/ofxDatGui / update

Method update

example-AllComponents/src/ofApp.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void ofApp::update()
93{
94// append a random value to the plotter within its range //
95// plotter->setValue(ofRandom(plotter->getMin()*.5, plotter->getMax()*.5));
96 float v = ofRandom(plotter->getMin(), plotter->getMax());
97 plotter->setValue(v);
98 for(int i=0; i<components.size(); i++) components[i]->update();
99}
100
101void ofApp::draw()
102{

Callers

nothing calls this directly

Calls 4

getMinMethod · 0.80
getMaxMethod · 0.80
setValueMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected