view main.mm @ 26:8d7ae43b2edd

BLOODY FIIDDLY MOFO THIS ONE
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Tue, 28 Oct 2014 19:15:28 +0000
parents 8eb530e0601b
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);
}