mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Small tweak
This commit is contained in:
parent
9e02796c9a
commit
24864a3d61
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ class InteractiveScene(Scene):
|
|||
p1 = rect.fixed_corner
|
||||
p2 = self.mouse_point.get_center()
|
||||
rect.set_points_as_corners([
|
||||
p1, [p2[0], p1[1], 0],
|
||||
p2, [p1[0], p2[1], 0],
|
||||
p1, np.array([p2[0], p1[1], 0]),
|
||||
p2, np.array([p1[0], p2[1], 0]),
|
||||
p1,
|
||||
])
|
||||
return rect
|
||||
|
|
Loading…
Add table
Reference in a new issue