diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-29 14:01:37 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-29 14:01:37 -0700 |
commit | ec6ce2baf4f5c03693ab38219b004a78c136ce53 (patch) | |
tree | 82d12be973d553518f133227e5bd667d7ec575c5 /tests/cubegeom.c | |
parent | cb0bb1c1a76850bd4a3ee6faa2af7e879d23e991 (diff) |
correct coordinate type in glRotate and add testing
Diffstat (limited to 'tests/cubegeom.c')
-rw-r--r-- | tests/cubegeom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cubegeom.c b/tests/cubegeom.c index 17d6e909..ecefb24a 100644 --- a/tests/cubegeom.c +++ b/tests/cubegeom.c @@ -101,6 +101,7 @@ int main(int argc, char *argv[]) glLoadIdentity(); // original: glFrustum(-0.6435469817188064, 0.6435469817188064 ,-0.48266022190470925, 0.48266022190470925 ,0.5400000214576721, 2048); glFrustum(-0.6435469817188064, 0.1435469817188064 ,-0.48266022190470925, 0.88266022190470925 ,0.5400000214576721, 2048); + glRotatef(-30, 1, 1, 1); //GLfloat pm[] = { 1.372136116027832, 0, 0, 0, 0, 0.7910231351852417, 0, 0, -0.6352481842041016, 0.29297152161598206, -1.0005275011062622, -1, 0, 0, -1.080284833908081, 0 }; //glLoadMatrixf(pm); @@ -285,7 +286,7 @@ int main(int argc, char *argv[]) verify(); #if !EMSCRIPTEN - SDL_Delay(3000); + SDL_Delay(1500); #endif SDL_Quit(); |