Skip to content

Commit

Permalink
Return step smoothing value to 23
Browse files Browse the repository at this point in the history
paramat authored and Zeno- committed Jan 8, 2015
1 parent 4a57ef1 commit 56a89fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/camera.cpp
Original file line number Diff line number Diff line change
@@ -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.