From cb38a705d14151c6f5b03d836df2fb75c805d633 Mon Sep 17 00:00:00 2001 From: Gene Kogan Date: Fri, 9 Jun 2017 13:52:38 +0200 Subject: [PATCH] update to of 0.9.x --- src/ofxTemplateMatching.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ofxTemplateMatching.h b/src/ofxTemplateMatching.h index 61ed72e..51f19a0 100644 --- a/src/ofxTemplateMatching.h +++ b/src/ofxTemplateMatching.h @@ -22,7 +22,7 @@ class TemplateMatch : public ofRectangle { void draw() { ofNoFill(); ofSetColor(255, 255, 0); - ofRect(*this); + ofDrawRectangle(*this); ofDrawBitmapString(ofToString(objectID), getCenter()); } @@ -141,4 +141,4 @@ class ofxTemplateMatching { } } -}; \ No newline at end of file +};