mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +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
|
@ -140,9 +140,7 @@ public:
|
|||
void step(f32 dtime);
|
||||
|
||||
// Update the camera from the local player's position.
|
||||
// busytime is used to adjust the viewing range.
|
||||
void update(LocalPlayer* player, f32 frametime, f32 busytime,
|
||||
f32 tool_reload_ratio);
|
||||
void update(LocalPlayer* player, f32 frametime, f32 tool_reload_ratio);
|
||||
|
||||
// Update render distance
|
||||
void updateViewingRange();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue