Mercurial > hg > movesynth
annotate of/main.cpp @ 50:f4c6999ecfe9 tip
added the files on my computer that aren't aiff s> these shoudl be everything for the big bang fair 2011 - heresy, and tim's file's also here
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sat, 08 Oct 2011 22:12:49 +0100 |
parents | 36e3faa5e9d4 |
children |
rev | line source |
---|---|
rebecca@13 | 1 #include "ofMain.h" |
rebecca@13 | 2 #include "testApp.h" |
rebecca@13 | 3 #include "ofAppGlutWindow.h" |
rebecca@13 | 4 |
rebecca@13 | 5 //======================================================================== |
rebecca@13 | 6 int main( ){ |
rebecca@13 | 7 |
rebecca@13 | 8 ofAppGlutWindow window; |
rebecca@13 | 9 ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context |
rebecca@13 | 10 |
rebecca@13 | 11 // this kicks off the running of my app |
rebecca@13 | 12 // can be OF_WINDOW or OF_FULLSCREEN |
rebecca@13 | 13 // pass in width and height too: |
rebecca@13 | 14 ofRunApp( new testApp()); |
rebecca@13 | 15 |
rebecca@13 | 16 } |