projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a57ef1
)
Return step smoothing value to 23
author
paramat
<mat.gregory@virginmedia.com>
Wed, 7 Jan 2015 12:22:33 +0000
(12:22 +0000)
committer
Craig Robbins
<kde.psych@gmail.com>
Thu, 8 Jan 2015 05:06:28 +0000
(15:06 +1000)
src/camera.cpp
patch
|
blob
|
history
diff --git
a/src/camera.cpp
b/src/camera.cpp
index df7ea35b12e737697eccd30a13ff197a0c2f8de8..5200f71ba70c7bf682388ed1fd0c5a43743e3cfd 100644
(file)
--- 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);
}