mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21: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();
|
||||
}
|
||||
|
||||
auto camera = this->level->player->camera;
|
||||
auto player = controller->getPlayer();
|
||||
auto camera = player->camera;
|
||||
audio::setListener(
|
||||
camera->position,
|
||||
this->level->player->hitbox->velocity,
|
||||
player->hitbox->velocity,
|
||||
camera->position+camera->dir,
|
||||
camera->up
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue