mirror of
https://github.com/overte-org/overte.git
synced 2025-08-13 22:49:52 +02:00
Fix blue audio sphere not showing correctly
This commit is contained in:
parent
8bc5f86666
commit
3b7260c434
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ void Avatar::render(const glm::vec3& cameraPosition, RenderMode renderMode) {
|
|||
return;
|
||||
}
|
||||
|
||||
glm::vec3 toTarget = cameraPosition - Application::getInstance()->getAvatar()->getPosition();
|
||||
glm::vec3 toTarget = cameraPosition - getPosition();
|
||||
float distanceToTarget = glm::length(toTarget);
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue