diff options
author | Calinou <calinou@opmbx.org> | 2014-10-26 11:13:00 +0100 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2014-11-26 17:28:02 +1000 |
commit | 1c9f05d792562374046e74ad3eb75988d529b15c (patch) | |
tree | cd67247ab6f30842755650abe5acdc55f6a239b6 | |
parent | 26cf98ccfc70909be916d29f0cc480f6929cbb08 (diff) | |
download | minetest-1c9f05d792562374046e74ad3eb75988d529b15c.tar.gz minetest-1c9f05d792562374046e74ad3eb75988d529b15c.tar.bz2 minetest-1c9f05d792562374046e74ad3eb75988d529b15c.zip |
Increase step smoothing to fit 1:1 stairs (works well on slabs too)
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
-rw-r--r-- | src/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.cpp b/src/camera.cpp index 0b4e4fd53..09e3c836a 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -255,7 +255,7 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, { f32 oldy = old_player_position.Y; f32 newy = player_position.Y; - f32 t = exp(-23*frametime); + f32 t = exp(-10*frametime); player_position.Y = oldy * t + newy * (1-t); } |