summaryrefslogtreecommitdiff
path: root/morpher/src/main.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-03-28 00:42:08 +0100
committerTim Redfern <tim@eclectronics.org>2012-03-28 00:42:08 +0100
commita47b39541a7f60dfdda921c9598abe947e1e6ad9 (patch)
tree34f85aa65d56793d2c42a83df5b025be7a142669 /morpher/src/main.cpp
parent3badbcdf8d8a0005543521849694fa481dfce628 (diff)
rayhit still iffy. starting morpher
Diffstat (limited to 'morpher/src/main.cpp')
-rw-r--r--morpher/src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/morpher/src/main.cpp b/morpher/src/main.cpp
new file mode 100644
index 0000000..6a32c6a
--- /dev/null
+++ b/morpher/src/main.cpp
@@ -0,0 +1,16 @@
+#include "ofMain.h"
+#include "testApp.h"
+#include "ofAppGlutWindow.h"
+
+//========================================================================
+int main( ){
+
+ ofAppGlutWindow window;
+ ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context
+
+ // this kicks off the running of my app
+ // can be OF_WINDOW or OF_FULLSCREEN
+ // pass in width and height too:
+ ofRunApp( new testApp());
+
+}