mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Fixed name conflict for AnimatedBoundary
This commit is contained in:
@ -22,9 +22,11 @@ class AnimatedBoundary(VGroup):
|
||||
]
|
||||
self.add(*self.boundary_copies)
|
||||
self.total_time = 0
|
||||
self.add_updater(lambda m, dt: self.update(dt))
|
||||
self.add_updater(
|
||||
lambda m, dt: self.update_boundary_copies(dt)
|
||||
)
|
||||
|
||||
def update(self, dt):
|
||||
def update_boundary_copies(self, dt):
|
||||
# Not actual time, but something which passes at
|
||||
# an altered rate to make the implementation below
|
||||
# cleaner
|
||||
|
Reference in New Issue
Block a user