diff options
Diffstat (limited to 'drawing/src/main.cpp')
| -rw-r--r-- | drawing/src/main.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drawing/src/main.cpp b/drawing/src/main.cpp new file mode 100644 index 0000000..0d7049c --- /dev/null +++ b/drawing/src/main.cpp @@ -0,0 +1,22 @@ +#include "ofMain.h" +#include "ofApp.h" + + +//======================================================================== +int main(int argc, char *argv[]){ + + + ofGLFWWindowSettings settings; + + + settings.width = 800; + settings.height = 800; + + shared_ptr<ofAppBaseWindow> mainWindow = ofCreateWindow(settings); + + shared_ptr<ofApp> mainApp(new ofApp); + + ofRunApp(mainWindow, mainApp); + ofRunMainLoop(); +} +
\ No newline at end of file |
