From cfd0496ac0ee9120c4bcb6a19ee6dcb2071ebc85 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 19 Apr 2023 20:16:23 +0100 Subject: 2 key texts --- nextus/src/ofApp.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'nextus/src/ofApp.cpp') 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 output=svginput.getOutput(); + vector 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)); } -- cgit v1.2.3