Mercurial > hg > tweakathon2ios
annotate 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 |
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 |