summaryrefslogtreecommitdiffhomepage
path: root/src/rcamera.h
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 00:36:31 +0200
committerRay <[email protected]>2022-08-02 00:36:31 +0200
commitfd191a32eacda23b54438550965fa8addf31e2e2 (patch)
treebb3b8537ef0f4f534650e96b60134febe9a61238 /src/rcamera.h
parentfe9e82b2e689ad6ae13ae6680ae8f1576c498fe2 (diff)
downloadraylib-fd191a32eacda23b54438550965fa8addf31e2e2.tar.gz
raylib-fd191a32eacda23b54438550965fa8addf31e2e2.zip
Remove trailing spaces
Diffstat (limited to 'src/rcamera.h')
-rw-r--r--src/rcamera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcamera.h b/src/rcamera.h
index 8c544327..ef30be3c 100644
--- a/src/rcamera.h
+++ b/src/rcamera.h
@@ -482,7 +482,7 @@ void UpdateCamera(Camera *camera)
// Camera position update
// NOTE: On CAMERA_FIRST_PERSON player Y-movement is limited to player 'eyes position'
camera->position.y = CAMERA.playerEyesPosition;
-
+
// Camera swinging (y-movement), only when walking (some key pressed)
for (int i = 0; i < 6; i++) if (direction[i]) { swingCounter += GetFrameTime(); break; }
camera->position.y -= sinf(2*PI*CAMERA_FIRST_PERSON_STEP_FREQUENCY*swingCounter)*CAMERA_FIRST_PERSON_SWINGING_DELTA;