equal
deleted
inserted
replaced
92 if (event.key.keysym.sym == SDLK_ESCAPE) { |
92 if (event.key.keysym.sym == SDLK_ESCAPE) { |
93 quit = true; |
93 quit = true; |
94 break; |
94 break; |
95 } |
95 } |
96 if (event.key.keysym.sym == SDLK_LEFT) { |
96 if (event.key.keysym.sym == SDLK_LEFT) { |
97 roty = -0.01; |
97 roty = +0.01; |
98 break; |
98 break; |
99 } |
99 } |
100 if (event.key.keysym.sym == SDLK_RIGHT) { |
100 if (event.key.keysym.sym == SDLK_RIGHT) { |
101 roty = +0.01; |
101 roty = -0.01; |
102 break; |
102 break; |
103 } |
103 } |
104 if (event.key.keysym.sym == SDLK_DOWN) { |
104 if (event.key.keysym.sym == SDLK_DOWN) { |
105 rotx = +0.01; |
105 rotx = +0.01; |
106 break; |
106 break; |