示例#1
0
文件: OpenAL.py 项目: anden3/Python
    def _set_orientation(self, orientation):
        self._orientation = orientation

        # noinspection PyCallingNonCallable
        al_data = (al.ALfloat * 6)(*orientation)
        al.alListenerfv(al.AL_ORIENTATION, al_data)
示例#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
示例#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
示例#4
0
文件: OpenAL.py 项目: anden3/Python
    def _set_orientation(self, orientation):
        self._orientation = orientation

        # noinspection PyCallingNonCallable
        al_data = (al.ALfloat * 6)(*orientation)
        al.alListenerfv(al.AL_ORIENTATION, al_data)