mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
parent
e5f276ecee
commit
a262be6a47
3 changed files with 65 additions and 39 deletions
|
@ -147,6 +147,9 @@ public:
|
|||
// Update the camera from the local player's position.
|
||||
void update(LocalPlayer* player, f32 frametime, f32 tool_reload_ratio);
|
||||
|
||||
// Adjust the camera offset when needed
|
||||
void updateOffset();
|
||||
|
||||
// Update render distance
|
||||
void updateViewingRange();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue