Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Moved attr

XorUnisone2fc3b9e71f3
diff --git a/manim/mobject/geometry.py b/manim/mobject/geometry.py
index bff303117..7bc1bd4a5 100644
--- a/manim/mobject/geometry.py
+++ b/manim/mobject/geometry.py
@@ -214,6 +214,7 @@ class Arc(TipableVMobject):
def __init__(self, start_angle=0, angle=TAU / 4, **kwargs):
self.start_angle = start_angle
self.angle = angle
+ self.failed_to_get_center=False
VMobject.__init__(self, **kwargs)
def generate_points(self):
@@ -259,7 +260,6 @@ class Arc(TipableVMobject):
# Normals
n1 = rotate_vector(t1, TAU / 4)
n2 = rotate_vector(t2, TAU / 4)
- self.failed_to_get_center=False
try:
return line_intersection(
line1=(a1, a1 + n1),