Пример #1
0
 def to_leap(self):
     return Leap.Vector(self.x, self.y, self.z)
Пример #2
0
 def __init__(self, actor):
     super(Listener, self).__init__()
     self.actor = actor
     self.center = Leap.Vector(GLOBALS['CENTER_X'], GLOBALS['CENTER_Y'],
                               GLOBALS['CENTER_Z'])