Refactored ShowCreation submobject management to Mobject class

This commit is contained in:
Grant Sanderson
2016-07-19 11:08:31 -07:00
parent a87b58a633
commit b4eac6d6a9
6 changed files with 120 additions and 32 deletions

View File

@ -300,7 +300,7 @@ class VMobject(Mobject):
# print getattr(mobject2, attr)
setattr(self, attr, getattr(mobject2, attr))
def become_partial(self, mobject, a, b):
def pointwise_become_partial(self, mobject, a, b):
assert(isinstance(mobject, VMobject))
#Partial curve includes three portions:
#-A middle section, which matches the curve exactly