Mercurial > hg > tweakathon2ios
annotate main.mm @ 13:ab3e0e980c82
Sequence conrtollrer FINALLY works.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Mon, 20 Oct 2014 19:36:39 +0100 |
parents | a223551fdc1f |
children | 8eb530e0601b |
rev | line source |
---|---|
rt300@0 | 1 #include "ofMain.h" |
rt300@0 | 2 |
rt300@0 | 3 #include "ofAppiOSWindow.h" |
rt300@0 | 4 #include "testApp.h" |
rt300@0 | 5 |
rt300@0 | 6 int main(){ |
rt300@0 | 7 ofAppiOSWindow * window = new ofAppiOSWindow(); |
rt300@0 | 8 window->enableHardwareOrientation(); |
rt300@0 | 9 window->enableOrientationAnimation(); |
rt300@0 | 10 window->enableAntiAliasing(4); |
rt300@0 | 11 window->enableRetina(); |
rt300@0 | 12 |
rt300@0 | 13 ofSeedRandom(); |
rt300@0 | 14 |
rt300@0 | 15 ofSetupOpenGL(window, 768, 1024,OF_FULLSCREEN); |
rt300@0 | 16 ofRunApp(new testApp); |
rt300@0 | 17 } |
rt300@0 | 18 |
rt300@0 | 19 |