mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Rework drawtime and related timekeeping code to use microseconds
This commit is contained in:
parent
fc161e757c
commit
058846d687
7 changed files with 101 additions and 85 deletions
|
@ -308,7 +308,7 @@ void Camera::addArmInertia(f32 player_yaw)
|
|||
}
|
||||
}
|
||||
|
||||
void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, f32 tool_reload_ratio)
|
||||
void Camera::update(LocalPlayer* player, f32 frametime, f32 tool_reload_ratio)
|
||||
{
|
||||
// Get player position
|
||||
// Smooth the movement when walking up stairs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue