Mercurial > hg > tweakathon2ios
view main.mm @ 46:db3f728b4c49
a
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 17 Dec 2014 12:31:17 +0000 |
parents | 8d7ae43b2edd |
children |
line wrap: on
line source
#include "ofMain.h" #include "ofAppiOSWindow.h" #include "testApp.h" int main(){ ofAppiOSWindow * window = new ofAppiOSWindow(); window->enableHardwareOrientation(); window->enableOrientationAnimation(); window->enableAntiAliasing(4); window->enableDepthBuffer(); window->enableRetina(); ofSeedRandom(); ofSetupOpenGL(window, 768, 1024,OF_FULLSCREEN); ofRunApp(new testApp); }