mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
audio test
This commit is contained in:
parent
2f154b5d87
commit
2044bd18c3
1 changed files with 3 additions and 2 deletions
|
|
@ -151,10 +151,11 @@ void LevelScreen::update(float delta) {
|
||||||
updateHotkeys();
|
updateHotkeys();
|
||||||
}
|
}
|
||||||
|
|
||||||
auto camera = this->level->player->camera;
|
auto player = controller->getPlayer();
|
||||||
|
auto camera = player->camera;
|
||||||
audio::setListener(
|
audio::setListener(
|
||||||
camera->position,
|
camera->position,
|
||||||
this->level->player->hitbox->velocity,
|
player->hitbox->velocity,
|
||||||
camera->position+camera->dir,
|
camera->position+camera->dir,
|
||||||
camera->up
|
camera->up
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue