2012-02-25 02:04:18 -05:00
|
|
|
#include "ofMain.h"
|
2013-08-12 10:44:58 +09:00
|
|
|
#include "ofApp.h"
|
2012-02-25 02:04:18 -05:00
|
|
|
|
|
|
|
|
//========================================================================
|
|
|
|
|
int main( ){
|
|
|
|
|
|
2012-11-27 13:33:18 +01:00
|
|
|
ofSetupOpenGL(500,750, OF_WINDOW); // <-------- setup the GL context
|
2012-02-25 02:04:18 -05:00
|
|
|
|
|
|
|
|
// this kicks off the running of my app
|
|
|
|
|
// can be OF_WINDOW or OF_FULLSCREEN
|
|
|
|
|
// pass in width and height too:
|
2013-08-12 10:44:58 +09:00
|
|
|
ofRunApp( new ofApp());
|
2012-02-25 02:04:18 -05:00
|
|
|
|
|
|
|
|
}
|