From efc84f691c282c78c3e572d92fdddae1e2adfa97 Mon Sep 17 00:00:00 2001 From: Eric-Paul Ickhorn Date: Sun, 15 Oct 2023 14:44:51 +0200 Subject: [PATCH] Fixed faster camera rotation --- code/source-c/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/source-c/main.c b/code/source-c/main.c index 1143944..042b2f0 100644 --- a/code/source-c/main.c +++ b/code/source-c/main.c @@ -212,8 +212,8 @@ bool update() case SDL_MOUSEMOTION: { if(!(event.motion.state & SDL_BUTTON_LMASK)) break; - camera_rotation.y += event.motion.xrel / 10.0f; - camera_rotation.x += event.motion.yrel / 10.0f; + camera_rotation.y += event.motion.xrel / 5.0f; + camera_rotation.x += event.motion.yrel / 5.0f; if(camera_rotation.x > 90) camera_rotation.x = 90;