diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-01-11 15:08:39 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-01-11 15:08:39 +0000 |
| commit | 6eb389d8c8b9a6f75e291d359a7708d2944a156d (patch) | |
| tree | c5c63e16a2bff7db9b2f600a17efe85aaee2ba02 /src/main.cpp | |
| parent | 6489954270c6e5ee0e7968de04cd6e865cb7e8b3 (diff) | |
added rotation - need to address gimbal lock
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index e9b2ef4..a0adc83 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,8 +17,8 @@ int main( ){ ofAppGlutWindow window; - ofSetupOpenGL(&window, 2048,768, OF_FULLSCREEN); // <-------- setup the GL context - //ofSetupOpenGL(&window, 800,400, OF_WINDOW); + //ofSetupOpenGL(&window, 2048,768, OF_FULLSCREEN); // <-------- setup the GL context + ofSetupOpenGL(&window, 1024,300, OF_WINDOW); glutIgnoreKeyRepeat(1); glutSetKeyRepeat(GLUT_KEY_REPEAT_OFF); //these don't work!!! printf("key repeat ignore: %i\n",glutDeviceGet(GLUT_DEVICE_IGNORE_KEY_REPEAT)); |
