def _set_orientation(self, orientation): self._orientation = orientation # noinspection PyCallingNonCallable al_data = (al.ALfloat * 6)(*orientation) al.alListenerfv(al.AL_ORIENTATION, al_data)
def _set_up_orientation(self, orientation): val = (al.ALfloat * 6)(*(self._forward_orientation + orientation)) al.alListenerfv(al.AL_ORIENTATION, val) self._up_orientation = orientation