mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
update_mobject -> interpolate_mobject for Animation, but not for ContinualAnimation
This commit is contained in:
@ -131,7 +131,7 @@ class FlipThroughNumbers(Animation):
|
||||
mobject = TexMobject(str(self.current_number)).shift(start_center)
|
||||
Animation.__init__(self, mobject, **kwargs)
|
||||
|
||||
def update_mobject(self, alpha):
|
||||
def interpolate_mobject(self, alpha):
|
||||
new_number = self.function(
|
||||
self.start + int(alpha *(self.end-self.start))
|
||||
)
|
||||
|
Reference in New Issue
Block a user