diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-03-21 15:57:14 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-03-21 15:57:14 +0000 |
| commit | e9e12efa3333f0f9e1b7baa84e8a8802733b13ac (patch) | |
| tree | 65971ec2698184ca436807a80d860a6e9ac3e048 /rayhit/src/main.cpp | |
| parent | 4f0fe0e5dd669f1fe65d9c9c17b8a546054a8717 (diff) | |
ofxRay confusion
Diffstat (limited to 'rayhit/src/main.cpp')
| -rw-r--r-- | rayhit/src/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rayhit/src/main.cpp b/rayhit/src/main.cpp new file mode 100644 index 0000000..6a32c6a --- /dev/null +++ b/rayhit/src/main.cpp @@ -0,0 +1,16 @@ +#include "ofMain.h" +#include "testApp.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; + ofSetupOpenGL(&window, 1024,768, 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()); + +} |
