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

Method update

example-xGenerativeLines/src/ofApp.cpp:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void ofApp::update()
114{
115 if (drawingPaused) return;
116 for(int i=0; i<lines.size(); i++){
117 lines[i].tick();
118 lines[i].head->x += (lines[i].dx) * drawSpeed;
119 lines[i].head->y += (lines[i].dy) * drawSpeed;
120 }
121}
122
123void ofApp::draw()
124{

Callers

nothing calls this directly

Calls 2

tickMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected