mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 12:32:36 +08:00
Beginning transform KA article, many small fixes to the mobject refactor
This commit is contained in:
@ -205,7 +205,7 @@ class DrawComplexAngleAndMagnitude(Scene):
|
||||
label.shift(point - edge + buff*dot_to_label_dir)
|
||||
label.highlight(YELLOW)
|
||||
|
||||
self.add_local_mobjects()
|
||||
self.add_mobjects_among(locals().values())
|
||||
|
||||
|
||||
def add_angle_label(self, number):
|
||||
@ -214,7 +214,7 @@ class DrawComplexAngleAndMagnitude(Scene):
|
||||
radius = 0.2
|
||||
)
|
||||
|
||||
self.add_local_mobjects()
|
||||
self.add_mobjects_among(locals().values())
|
||||
|
||||
def add_lines(self, tex_representation, number):
|
||||
point = self.plane.number_to_point(number)
|
||||
@ -250,5 +250,5 @@ class DrawComplexAngleAndMagnitude(Scene):
|
||||
axis = OUT if point[1] > 0 else IN
|
||||
norm_label.next_to(brace, rotate_vector(point, np.pi/2, axis))
|
||||
|
||||
self.add_local_mobjects()
|
||||
self.add_mobjects_among(locals().values())
|
||||
|
||||
|
Reference in New Issue
Block a user