diff options
| author | Tim Redfern <redfernt@gmail.com> | 2023-04-19 20:16:23 +0100 |
|---|---|---|
| committer | Tim Redfern <redfernt@gmail.com> | 2023-04-19 20:16:23 +0100 |
| commit | cfd0496ac0ee9120c4bcb6a19ee6dcb2071ebc85 (patch) | |
| tree | a7dc4768ae223341063b24f256449fd6cd1d8169 /nextus/src/ofApp.cpp | |
| parent | 192b6d22d5c523aebc7210b21846aeb4b74b2307 (diff) | |
2 key texts
Diffstat (limited to 'nextus/src/ofApp.cpp')
| -rw-r--r-- | nextus/src/ofApp.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nextus/src/ofApp.cpp b/nextus/src/ofApp.cpp index 4a955a5..fa6a76b 100644 --- a/nextus/src/ofApp.cpp +++ b/nextus/src/ofApp.cpp @@ -66,7 +66,9 @@ void ofApp::draw(){ textinput.draw(); //process the pipeline - vector<colourPolyline> output=svginput.getOutput(); + vector<colourPolyline> output=textinput.getOutput(); + + int points=0; ofPushMatrix(); ofTranslate(695,5); @@ -77,12 +79,15 @@ void ofApp::draw(){ ofScale(250.0f); for (auto poly:output){ poly.draw(); + points+=poly.size(); } ofPopMatrix(); madlaser.panel.draw(); madlaser.drawNormalised(output); + + ofSetWindowTitle("laser points: "+ofToString(points)); } |
