Get rid of get_point_mobject

This commit is contained in:
Grant Sanderson
2020-02-20 10:03:47 -08:00
parent 57b1523d96
commit c88bcc1a3c
2 changed files with 0 additions and 12 deletions

View File

@ -156,11 +156,6 @@ class PMobject(Mobject):
)
)
def get_point_mobject(self, center=None):
if center is None:
center = self.get_center()
return Point(center)
def interpolate_color(self, mobject1, mobject2, alpha):
self.rgbas = interpolate(
mobject1.rgbas, mobject2.rgbas, alpha

View File

@ -748,13 +748,6 @@ class VMobject(Mobject):
setattr(self, attr, new_a1)
return self
def get_point_mobject(self, center=None):
if center is None:
center = self.get_center()
point = VectorizedPoint(center)
point.match_style(self)
return point
def interpolate_color(self, mobject1, mobject2, alpha):
attrs = [
"fill_rgbas",