diff options
Diffstat (limited to 'nextus/src/main.cpp')
| -rw-r--r-- | nextus/src/main.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nextus/src/main.cpp b/nextus/src/main.cpp new file mode 100644 index 0000000..df57f72 --- /dev/null +++ b/nextus/src/main.cpp @@ -0,0 +1,25 @@ +#include "ofMain.h" +#include "ofApp.h" + + +//======================================================================== +int main(int argc, char *argv[]){ + + + ofGLFWWindowSettings settings; + + settings.decorated = true; + + settings.setSize(1200,900); + settings.setPosition(ofVec2f(0,0)); + settings.resizable = false; + + shared_ptr<ofAppBaseWindow> mainWindow = ofCreateWindow(settings); + mainWindow->setVerticalSync(false); + + shared_ptr<ofApp> mainApp(new ofApp); + + ofRunApp(mainWindow, mainApp); + ofRunMainLoop(); +} +
\ No newline at end of file |
