diff options
| author | Tim Redfern <tim@getdrop.com> | 2018-12-12 21:57:21 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2018-12-12 21:57:21 +0000 |
| commit | 1369877fa5dfa46f54cc3ffc3d231e661505105c (patch) | |
| tree | 8ab16054f19a5378a8d2d6f3d078326fc33de1ca /oscReceiveExample/src/ofApp.cpp | |
| parent | 983d4a8a596a680edc9a1bc78a6b5b61b6486be5 (diff) | |
update oF
Diffstat (limited to 'oscReceiveExample/src/ofApp.cpp')
| -rw-r--r-- | oscReceiveExample/src/ofApp.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/oscReceiveExample/src/ofApp.cpp b/oscReceiveExample/src/ofApp.cpp index b7dbc8f..cd76ce5 100644 --- a/oscReceiveExample/src/ofApp.cpp +++ b/oscReceiveExample/src/ofApp.cpp @@ -27,6 +27,8 @@ void ofApp::setup(){ copy_polys=1000; create_polys=0; + debug_level=NODEBUG; + ofSetFrameRate(60); } @@ -228,6 +230,12 @@ void ofApp::keyPressed(int key){ case '>': create_polys+=10; break; + case '[': + debug_level=max(NODEBUG,debug_level-1); + break; + case ']': + debug_level=min(SHOWALL,debug_level+1); + break; } } |
