diff options
| author | Tim Redfern <redfernt@gmail.com> | 2023-09-15 20:15:26 +0100 |
|---|---|---|
| committer | Tim Redfern <redfernt@gmail.com> | 2023-09-15 20:15:26 +0100 |
| commit | 955356d8cc6261474d55727e0bbfaab324fa09e1 (patch) | |
| tree | 3f68a603f644d3bf6493e4d3d5178574cb8f3f19 /futuregael/src/main.cpp | |
| parent | ce815a746a91d0ac0fd7a883223fefe5cc07b339 (diff) | |
add main.cpp
Diffstat (limited to 'futuregael/src/main.cpp')
| -rw-r--r-- | futuregael/src/main.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/futuregael/src/main.cpp b/futuregael/src/main.cpp new file mode 100644 index 0000000..3e20ab7 --- /dev/null +++ b/futuregael/src/main.cpp @@ -0,0 +1,22 @@ +#include "ofMain.h" +#include "ofApp.h" + + +//======================================================================== +int main(int argc, char *argv[]){ + + + ofGLFWWindowSettings settings; + + settings.setSize(1200,900); + + //1200 = 13.2° = 42898 pts theoretical + + shared_ptr<ofAppBaseWindow> mainWindow = ofCreateWindow(settings); + + shared_ptr<ofApp> mainApp(new ofApp); + + ofRunApp(mainWindow, mainApp); + ofRunMainLoop(); +} +
\ No newline at end of file |
