MCPcopy Create free account
hub / github.com/danomatika/ofxLua / draw

Method draw

luaExample/src/ofApp.cpp:49–56  ·  view source on GitHub ↗

--------------------------------------------------------------

Source from the content-addressed store, hash-verified

47
48//--------------------------------------------------------------
49void ofApp::draw() {
50 // call the script's draw() function
51 lua.scriptDraw();
52
53 ofSetColor(0);
54 ofDrawBitmapString("use <- & -> to change between scripts", 10, ofGetHeight()-22);
55 ofDrawBitmapString(scripts[currentScript], 10, ofGetHeight()-10);
56}
57
58//--------------------------------------------------------------
59void ofApp::exit() {

Callers

nothing calls this directly

Calls 1

scriptDrawMethod · 0.80

Tested by

no test coverage detected