#include "ofMain.h" #include "ofApp.h" //======================================================================== int main( ){ float rotation=ofDegToRad(ROTATION); 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()); }