Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/braitsch/ofxDatGui
/ update
Method
update
example-xOscillatingPolygon/src/ofApp.cpp:104–108 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
102
}
103
104
void ofApp::update()
105
{
106
oscillator+=(0.25 * float(zSpeed));
107
poly.setRadius((sin(oscillator)*maxRadius) + (maxRadius+minRadius));
108
}
109
110
111
Callers
nothing calls this directly
Calls
1
setRadius
Method · 0.80
Tested by
no test coverage detected