예제 #1
0
파일: __init__.py 프로젝트: wwoods/ramfull
 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()
예제 #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()
예제 #3
0
파일: __init__.py 프로젝트: wwoods/ramfull
 def set_position(self, position):
     x, y, z = position
     context.lock()
     al.alSource3f(self._al_source, al.AL_POSITION, x, y, z)
     context.unlock()
예제 #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()
예제 #5
0
파일: __init__.py 프로젝트: cb109/maxstick
 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)
예제 #6
0
파일: __init__.py 프로젝트: cb109/maxstick
 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)
예제 #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)
예제 #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)