Exemplo n.º 1
0
 def set_cone_orientation(self, cone_orientation):
     x, y, z = cone_orientation
     context.lock()
     al.alSource3f(self._al_source, al.AL_DIRECTION, x, y, z)
     context.unlock()
Exemplo n.º 2
0
 def set_cone_orientation(self, cone_orientation):
     x, y, z = cone_orientation
     context.lock()
     al.alSource3f(self._al_source, al.AL_DIRECTION, x, y, z)
     context.unlock()
Exemplo n.º 3
0
 def set_position(self, position):
     x, y, z = position
     context.lock()
     al.alSource3f(self._al_source, al.AL_POSITION, x, y, z)
     context.unlock()
Exemplo n.º 4
0
 def set_position(self, position):
     x, y, z = position
     context.lock()
     al.alSource3f(self._al_source, al.AL_POSITION, x, y, z)
     context.unlock()
Exemplo n.º 5
0
 def set_cone_orientation(self, cone_orientation):
     x, y, z = map(float, cone_orientation)
     with context.lock:
         al.alSource3f(self._al_source, al.AL_DIRECTION, x, y, z)
Exemplo n.º 6
0
 def set_position(self, position):
     x, y, z = map(float, position)
     with context.lock:
         al.alSource3f(self._al_source, al.AL_POSITION, x, y, z)
Exemplo n.º 7
0
 def set_cone_orientation(self, cone_orientation):
     x, y, z = map(float, cone_orientation)
     with context.lock:
         al.alSource3f(self._al_source, al.AL_DIRECTION, x, y, z)
Exemplo n.º 8
0
 def set_position(self, position):
     x, y, z = map(float, position)
     with context.lock:
         al.alSource3f(self._al_source, al.AL_POSITION, x, y, z)