mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Minor cleanup
This commit is contained in:
parent
9df8b0781e
commit
55a6a0b906
2 changed files with 1 additions and 3 deletions
|
@ -10,8 +10,6 @@ from animation import Animation
|
||||||
from animation import sync_animation_run_times_and_rate_funcs
|
from animation import sync_animation_run_times_and_rate_funcs
|
||||||
from transform import Transform
|
from transform import Transform
|
||||||
|
|
||||||
from traceback import *
|
|
||||||
|
|
||||||
class Rotating(Animation):
|
class Rotating(Animation):
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
"axis" : OUT,
|
"axis" : OUT,
|
||||||
|
|
|
@ -43,7 +43,7 @@ class Scene(Container):
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
Container.__init__(self, **kwargs) # Perhaps allow passing in a non-empty *mobjects parameter?
|
Container.__init__(self, **kwargs) # Perhaps allow passing in a non-empty *mobjects parameter?
|
||||||
self.camera = self.camera_class(**self.camera_config)
|
self.camera = self.camera_class(**self.camera_config)
|
||||||
self.mobjects = [] #TODO: fiddle with this line... to match name used in Container
|
self.mobjects = []
|
||||||
self.continual_animations = []
|
self.continual_animations = []
|
||||||
self.foreground_mobjects = []
|
self.foreground_mobjects = []
|
||||||
self.num_plays = 0
|
self.num_plays = 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue