summaryrefslogtreecommitdiffstats
path: root/sdl/pyramid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdl/pyramid.c')
-rw-r--r--sdl/pyramid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdl/pyramid.c b/sdl/pyramid.c
index c3301e8..49cc4a9 100644
--- a/sdl/pyramid.c
+++ b/sdl/pyramid.c
@@ -102,13 +102,13 @@ static void keys(SDL_keysym *keysym, unsigned int *keys_held, int flag)
else
{
if (keys_held[SDLK_w])
- xRot -= 5.0f;
+ xRot -= 1.0f;
if (keys_held[SDLK_s])
- xRot += 5.0f;
+ xRot += 1.0f;
if (keys_held[SDLK_a])
- yRot -= 5.0f;
+ yRot -= 1.0f;
if (keys_held[SDLK_d])
- yRot += 5.0f;
+ yRot += 1.0f;
}
xRot = (GLfloat) ((const int) xRot % 360);