Hello! I've just started using the Audio module of SFML2 and so far everything is fine, I'd just like to know why isn't there an option to set the up vector of the Listener's orientation.
sf::Listener::SetDirection assumes it's (0, 1, 0), but my game, for example, is entirely built around the (0, -1, 0) up vector.
////////////////////////////////////////////////////////////
void Listener::SetDirection(float x, float y, float z)
{
priv::EnsureALInit();
float orientation[] = {x, y, z, 0.f, 1.f, 0.f};
ALCheck(alListenerfv(AL_ORIENTATION, orientation));
}
For now I'm using a modified version of SFML with an overloaded SetDirection that takes another sf::Vector3f as the Up vector. So, why isn't this implemented? :?: