mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 05:24:22 +08:00
Remove add_control_points, re-implement VMobject.align_points
This commit is contained in:
@ -1678,10 +1678,8 @@ class AnalyzeCircleGeometry(CircleDiagramFromSlidingBlocks, MovingCameraScene):
|
||||
two_theta_labels.add(label)
|
||||
|
||||
wedge = arc.copy()
|
||||
wedge.add_control_points([
|
||||
*3 * [ORIGIN],
|
||||
*3 * [wedge.points[0]]
|
||||
])
|
||||
wedge.add_line_to(ORIGIN)
|
||||
wedge.add_line_to(wedge.points[0])
|
||||
wedge.set_stroke(width=0)
|
||||
wedge.set_fill(arc.get_color(), 0.2)
|
||||
wedges.add(wedge)
|
||||
|
Reference in New Issue
Block a user