root / CCV-HAND / addons / ofxVectorMath / example / src / main.cpp @ 59
View | Annotate | Download (414 Bytes)
| 1 | #include "ofMain.h" |
|---|---|
| 2 | #include "testApp.h" |
| 3 | #include "ofAppGlutWindow.h" |
| 4 | |
| 5 | //========================================================================
|
| 6 | int main( ){
|
| 7 | |
| 8 | ofAppGlutWindow window; |
| 9 | ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context |
| 10 | |
| 11 | // this kicks off the running of my app
|
| 12 | // can be OF_WINDOW or OF_FULLSCREEN
|
| 13 | // pass in width and height too:
|
| 14 | ofRunApp( new testApp()); |
| 15 | |
| 16 | } |
