Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Made sure get_boudary_point uses self.get_points_defining_boundary

Grant Sanderson693c98cea777
diff --git a/mobject/mobject.py b/mobject/mobject.py
index 04e01326c..23b3f75bf 100644
--- a/mobject/mobject.py
+++ b/mobject/mobject.py
@@ -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):