mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Make Mobject.get_critical_point use get_poitns_defining_boundary
This commit is contained in:
parent
fdce4b422e
commit
8e0fae4663
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue