A community-maintained Python framework for creating mathematical animations.
Bug fix to Arrow
Grant Sanderson6a781d0737c8
diff --git a/mobject/geometry.py b/mobject/geometry.pyindex cdc6bc7a9..8dbb61a29 100644--- a/mobject/geometry.py+++ b/mobject/geometry.py@@ -600,7 +600,7 @@ class Arrow(Line):return selfdef get_normal_vector(self):- p0, p1, p2 = self.tip[0].get_anchors()+ p0, p1, p2 = self.tip[0].get_anchors()[:3]result = np.cross(p2 - p1, p1 - p0)norm = get_norm(result)if norm == 0: