aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-01-07 12:22:33 +0000
committerCraig Robbins <kde.psych@gmail.com>2015-01-08 15:06:28 +1000
commit56a89fd265d07d2b27c9412927ce29c7b5f704c2 (patch)
treef551d4f14a7c4cab917e62f168debc0f55741cb1 /src
parent4a57ef12a163f9792a8822b6e1a2bd9dca4f86fb (diff)
downloadminetest-56a89fd265d07d2b27c9412927ce29c7b5f704c2.tar.gz
minetest-56a89fd265d07d2b27c9412927ce29c7b5f704c2.tar.bz2
minetest-56a89fd265d07d2b27c9412927ce29c7b5f704c2.zip
Return step smoothing value to 23
Diffstat (limited to 'src')
-rw-r--r--src/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.cpp b/src/camera.cpp
index df7ea35b1..5200f71ba 100644
--- a/src/camera.cpp
+++ b/src/camera.cpp
@@ -270,7 +270,7 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime,
{
f32 oldy = old_player_position.Y;
f32 newy = player_position.Y;
- f32 t = exp(-10*frametime);
+ f32 t = exp(-23*frametime);
player_position.Y = oldy * t + newy * (1-t);
}