topical media & game development

talk show tell print

lib-of-vs-addons-ofxOsc-examples-oscSenderExample-src-main.cpp / cpp



  include <ofMain.h>
  include <testApp.h>
  include <ofAppGlutWindow.h>
  
  //========================================================================
  int main( ){
  
      ofAppGlutWindow window;
          ofSetupOpenGL(&window, 640,480, OF_WINDOW);                        // <-------- setup the GL context
  
          // this kicks off the running of my app
          // can be OF_WINDOW or OF_FULLSCREEN
          // pass in width and height too:
          ofRunApp( new testApp());
  
  }
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.