Exemple #1
0
    def _set_orientation(self, orientation):
        self._orientation = orientation

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

        # noinspection PyCallingNonCallable
        al_data = (al.ALfloat * 6)(*orientation)
        al.alListenerfv(al.AL_ORIENTATION, al_data)