Mercurial > hg > tweakathon2ios
view main.mm @ 30:78b51f924ec1
twiddles
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 04 Nov 2014 14:37:35 +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); }