From 955356d8cc6261474d55727e0bbfaab324fa09e1 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 15 Sep 2023 20:15:26 +0100 Subject: add main.cpp --- futuregael/src/main.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 futuregael/src/main.cpp (limited to 'futuregael/src/main.cpp') 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 mainWindow = ofCreateWindow(settings); + + shared_ptr mainApp(new ofApp); + + ofRunApp(mainWindow, mainApp); + ofRunMainLoop(); +} + \ No newline at end of file -- cgit v1.2.3