diff main.mm @ 0:a223551fdc1f

First commit - copy from tweakathlon.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Fri, 10 Oct 2014 11:46:42 +0100
parents
children 8eb530e0601b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.mm	Fri Oct 10 11:46:42 2014 +0100
@@ -0,0 +1,19 @@
+#include "ofMain.h"
+
+#include "ofAppiOSWindow.h"
+#include "testApp.h"
+
+int main(){
+    ofAppiOSWindow * window = new ofAppiOSWindow();
+    window->enableHardwareOrientation();
+    window->enableOrientationAnimation();
+    window->enableAntiAliasing(4);
+	window->enableRetina();
+    
+    ofSeedRandom();
+    
+	ofSetupOpenGL(window, 768, 1024,OF_FULLSCREEN);
+	ofRunApp(new testApp);
+}
+
+