From fa81f54a7e42369beccedd0dc8efc361e15af03d Mon Sep 17 00:00:00 2001 From: koki kaminoura <14070846+granola@users.noreply.github.com> Date: Mon, 23 Sep 2019 17:28:34 +0900 Subject: [PATCH] Fix doc (#6371) --- libs/openFrameworks/graphics/ofGraphics.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/openFrameworks/graphics/ofGraphics.h b/libs/openFrameworks/graphics/ofGraphics.h index bc21b86804c..0f7396a8a45 100644 --- a/libs/openFrameworks/graphics/ofGraphics.h +++ b/libs/openFrameworks/graphics/ofGraphics.h @@ -712,7 +712,7 @@ void ofSetupScreen(); /// ~~~~{.cpp} /// void ofApp::draw(){ /// if(ofGetRectMode() == OF_RECTMODE_CORNER){ -/// ofDrawRea10,10,80,80); +/// ofDrawRectangle(10,10,80,80); /// } /// else { /// ofDrawRectangle(50,50,80,80); @@ -935,7 +935,7 @@ void ofSetRectMode(ofRectMode mode); /// void ofApp::draw(){ /// ofPushMatrix(); // push the current coordinate position /// ofRotateX(90); // change the coordinate system -/// ofDrawRea10,10,40,40); // draw a rect +/// ofDrawRectangle(10,10,40,40); // draw a rect /// ofPopMatrix() // recall the pushed coordinate position /// ofDrawCircle(10, 10, 5); // draw a circle /// }