summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2022-11-21 18:33:18 +0000
committerTim Redfern <tim@getdrop.com>2022-11-21 18:33:18 +0000
commite9e9d076406bcea1a0a7461a9db4d43b8f280d49 (patch)
treed255ed3294d6d24b60efd0dd383b8cc6a906ac36
parent4ceddea7412d683d8b828ad1027529d7167520d4 (diff)
add stats
-rw-r--r--audioin/src/ofApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/audioin/src/ofApp.cpp b/audioin/src/ofApp.cpp
index e6b0e6d..8d5fe8c 100644
--- a/audioin/src/ofApp.cpp
+++ b/audioin/src/ofApp.cpp
@@ -55,13 +55,13 @@ void ofApp::draw(){
line.draw();
- laser.draw(line);
+ int numpts=laser.draw(line);
ofPopMatrix();
frameNum++;
- ofSetWindowTitle(ofToString(ofGetFrameRate()));
+ ofSetWindowTitle(ofToString(ofGetFrameRate())+" fps, pts:"+(numpts?ofToString(numpts):"ERR"));
}