#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()); }