Ejemplo n.º 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)
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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)