コード例 #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
ファイル: __init__.py プロジェクト: jcockayne/sympy-rkern
 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
ファイル: __init__.py プロジェクト: rkern/sympy-rkern
 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)