mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix ServerMainloop timer
This commit is contained in:
parent
8a4f1e16f3
commit
008e11b4b7
4 changed files with 13 additions and 5 deletions
|
|
@ -150,7 +150,9 @@ void CameraControl::switchCamera() {
|
|||
}
|
||||
}
|
||||
|
||||
void CameraControl::update(PlayerInput input, float delta, Chunks& chunks) {
|
||||
void CameraControl::update(
|
||||
PlayerInput input, float delta, const Chunks& chunks
|
||||
) {
|
||||
offset = glm::vec3(0.0f, 0.0f, 0.0f);
|
||||
|
||||
if (auto hitbox = player.getHitbox()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue