Mercurial > hg > movesynth
annotate of/main.cpp @ 38:718f93c14ba9
changed ports on tim's grid mapper to work with joe - now using 12346 to send to joe and receive on 12345, added stoppped person in the of patch
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Fri, 25 Feb 2011 17:34:52 +0000 |
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 } |