summaryrefslogtreecommitdiff
path: root/menuApp/src/main.cpp
blob: 3c3127914cbee08a48b3673beb0a0b129c2e6376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "ofMain.h"
#include "ofApp.h"

//========================================================================
int main( ){
	int width=(1920*FACTOR*sin(ROTATION))+(1080*FACTOR*cos(ROTATION));
	int height=(1920*FACTOR*cos(ROTATION))+(1080*FACTOR*sin(ROTATION));
#ifdef FULLSCREEN
	ofSetupOpenGL(width,height,OF_FULLSCREEN);
#else
	ofSetupOpenGL(width,height,OF_WINDOW);
#endif
	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:
	ofRunApp( new ofApp());

}