Permalink
Browse files

Merge pull request #589 from manashmndl/patch-1

fix missing scope resolution operator `::`
  • Loading branch information...
arturoc committed Mar 17, 2017
2 parents 343b7cb + 7cc3f46 commit 438b7a944feec99cc469c74fb88285e4dccf26c6
Showing with 1 addition and 1 deletion.
  1. +1 −1 learning/01_basics/how_to_create_slider.markdown
@@ -38,7 +38,7 @@ Setup your panel named 'gui' and add the radius slider using ```gui.add()```. He
For the sake of example, draw a circle in the ```draw()``` function and pass the variable 'radius' as the third parameter.
void ofApp:draw(){
void ofApp::draw(){
ofDrawCircle(ofGetWidth()/2, ofGetHeight()/2, radius);
gui.draw();
}

0 comments on commit 438b7a9

Please sign in to comment.