Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Return step smoothing value to 23
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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); |
|
|
} |
|
|
|
|
|