Make Mobject.get_critical_point use get_poitns_defining_boundary

This commit is contained in:
Grant Sanderson 2019-01-09 12:50:37 -08:00
parent fdce4b422e
commit 8e0fae4663

View file

@ -714,7 +714,7 @@ class Mobject(Container):
def get_critical_point(self, direction):
result = np.zeros(self.dim)
all_points = self.get_all_points()
all_points = self.get_points_defining_boundary()
if len(all_points) == 0:
return result
for dim in range(self.dim):