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

@ -129,7 +129,7 @@ class PMobject(Mobject):
mobject1.rgbs, mobject2.rgbs, alpha
)
def become_partial(self, mobject, a, b):
def pointwise_become_partial(self, mobject, a, b):
lower_index, upper_index = [
int(x * mobject.get_num_points())
for x in a, b