summaryrefslogtreecommitdiff
path: root/nextus/src/ofApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nextus/src/ofApp.cpp')
-rw-r--r--nextus/src/ofApp.cpp7
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));
}