Esempio n. 1
0
 def _set_up_orientation(self, orientation):
     val = (al.ALfloat * 6)(*(self._forward_orientation + orientation))
     self._driver.lock()
     al.alListenerfv(al.AL_ORIENTATION, val)
     self._driver.unlock()
     self._up_orientation = orientation
Esempio n. 2
0
 def _set_up_orientation(self, orientation):
     val = (al.ALfloat *
            6)(*map(float, (self._forward_orientation + orientation)))
     with self._driver.lock:
         al.alListenerfv(al.AL_ORIENTATION, val)
     self._up_orientation = orientation
Esempio n. 3
0
 def _set_up_orientation(self, orientation):
     val = (al.ALfloat * 6)(*(self._forward_orientation + orientation))
     self._driver.lock()
     al.alListenerfv(al.AL_ORIENTATION, val)
     self._driver.unlock()
     self._up_orientation = orientation
Esempio n. 4
0
 def _set_up_orientation(self, orientation):
     val = (al.ALfloat * 6)(*map(float, (self._forward_orientation + orientation)))
     with self._driver.lock:
         al.alListenerfv(al.AL_ORIENTATION, val)
     self._up_orientation = orientation