示例#1
0
文件: OpenAL.py 项目: anden3/Python
 def _set_position(self, pos):
     self._position = pos
     x, y, z = map(int, pos)
     al.alSource3f(self.source, al.AL_POSITION, x, y, z)
示例#2
0
文件: OpenAL_HRTF.py 项目: shaix/PyAL
 def _set_position(self, pos):
     self._position = pos
     x, y, z = map(int, pos)
     al.alSource3f(self.source, al.AL_POSITION, x, y, z)
示例#3
0
 def set_cone_orientation(self, cone_orientation):
     x, y, z = cone_orientation
     al.alSource3f(self._al_source, al.AL_DIRECTION, x, y, z)
示例#4
0
 def set_position(self, position):
     x, y, z = position
     al.alSource3f(self._al_source, al.AL_POSITION, x, y, z)
示例#5
0
 def set_cone_orientation(self, cone_orientation):
     x, y, z = cone_orientation
     al.alSource3f(self._al_source, al.AL_DIRECTION, x, y, z)
示例#6
0
 def set_position(self, position):
     x, y, z = position
     al.alSource3f(self._al_source, al.AL_POSITION, x, y, z)
示例#7
0
 def _set_velocity(self, velocity):
     x, y, z = velocity
     al.alSource3f(self._al_source, al.AL_VELOCITY, x, y, z)
     self._velocity = velocity