Correct orientation. Need to clean this up.

This commit is contained in:
stiffly
2016-01-07 17:04:43 +01:00
parent 2838446072
commit da6e50dc7e
2 changed files with 17 additions and 1 deletions
+1
View File
@@ -35,6 +35,7 @@ void SoundSystem::Update()
EntityID listener = (*it).EntityID;
auto transform = m_World->GetComponent(listener, "Transform");
setListenerPos(transform["Position"]);
setListenerOri(transform["Orientation"]);
}
}