According to the joal API, the listener orientation (set in the setOrientation method of the Listener class) is specified by (x,y,z) of the “up” vector, followed by the (x,y,z) of the “look-at” vector. But the equivalent spec for OpenAL has the look-at first and up second. Is the joal api incorrect? or were these vectors swapped for some reason?
The Listener getOrientation method has the same problem. I believe that it’s the joal api that is incorrect.
I’ll have to take another look at it. The JOAL API is just calling the OpenAL call, so this is probably just a documentation problem.