Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixed RightArcAngleExample in docs (#1643)

Oliverd8f5823bea73
diff --git a/manim/mobject/geometry.py b/manim/mobject/geometry.py
index e997080d5..9845b973b 100644
--- a/manim/mobject/geometry.py
+++ b/manim/mobject/geometry.py
@@ -2838,8 +2838,8 @@ class Angle(VMobject, metaclass=ConvertToOpenGL):
right_dot = Dot(ORIGIN, radius=dot_radius, color=dot_color)
dot_anchor = (
inter
- + (self.get_center() - inter)
- / np.linalg.norm(self.get_center() - inter)
+ + (angle_mobject.get_center() - inter)
+ / np.linalg.norm(angle_mobject.get_center() - inter)
* radius
* dot_distance
)