Skip to content
Permalink
Browse files

Return step smoothing value to 23

  • Loading branch information
paramat authored and Zeno- committed Jan 8, 2015
1 parent 4a57ef1 commit 56a89fd265d07d2b27c9412927ce29c7b5f704c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}

0 comments on commit 56a89fd

Please sign in to comment.