Created
August 27, 2013 20:27
-
-
Save madc/6358717 to your computer and use it in GitHub Desktop.
Draw the current frame rate on the screen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void testApp::draw(){ | |
ofSetColor(0); | |
ofDrawBitmapString("FPS: " + ofToString((int)ofGetFrameRate()), 20, 20); | |
// [...] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment