def to_leap(self): return Leap.Vector(self.x, self.y, self.z)
def __init__(self, actor): super(Listener, self).__init__() self.actor = actor self.center = Leap.Vector(GLOBALS['CENTER_X'], GLOBALS['CENTER_Y'], GLOBALS['CENTER_Z'])