mirror of
https://github.com/3b1b/manim.git
synced 2025-08-19 13:01:00 +00:00
Removes magic number
This commit is contained in:
parent
439e83f40e
commit
0b58572f41
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ class Arrow(Line):
|
|||
R = (-b + np.sqrt(b**2 - 4 * a * c)) / (2 * a)
|
||||
|
||||
# Find arc points
|
||||
points1 = Arc.create_quadratic_bezier_points(path_arc, n_components=20)
|
||||
points1 = Arc.create_quadratic_bezier_points(path_arc)
|
||||
points2 = np.array(points1[::-1])
|
||||
points1 *= (R + width / 2)
|
||||
points2 *= (R - width / 2)
|
||||
|
|
Loading…
Add table
Reference in a new issue