def functorFunc(self=self, scale=scale, other=other): from pandac import ScaleLerpFunctor if (other != None): # lerp wrt other functor = ScaleLerpFunctor.ScaleLerpFunctor( self, (self.getScale(other)), scale, other) else: functor = ScaleLerpFunctor.ScaleLerpFunctor( self, (self.getScale()), scale) return functor
def functorFunc(self=self, sx=sx, sy=sy, sz=sz, other=other): from pandac import ScaleLerpFunctor if (other != None): # lerp wrt other startScale = self.getScale(other) functor = ScaleLerpFunctor.ScaleLerpFunctor( self, startScale[0], startScale[1], startScale[2], sx, sy, sz, other) else: startScale = self.getScale() functor = ScaleLerpFunctor.ScaleLerpFunctor( self, startScale[0], startScale[1], startScale[2], sx, sy, sz) return functor