mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Made sure get_boudary_point uses self.get_points_defining_boundary
This commit is contained in:
parent
7e7d9732cf
commit
693c98cea7
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ class Mobject(Container):
|
|||
return np.apply_along_axis(np.mean, 0, self.get_all_points())
|
||||
|
||||
def get_boundary_point(self, direction):
|
||||
all_points = self.get_all_points()
|
||||
all_points = self.get_points_defining_boundary()
|
||||
return all_points[np.argmax(np.dot(all_points, direction))]
|
||||
|
||||
def get_top(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue