mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Have rectangles drawn in ccw order
This commit is contained in:
parent
a3e76334a6
commit
e5a215cbd6
1 changed files with 1 additions and 1 deletions
|
@ -779,7 +779,7 @@ class Rectangle(Polygon):
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
Polygon.__init__(self, UL, UR, DR, DL, **kwargs)
|
Polygon.__init__(self, UR, UL, DL, DR, **kwargs)
|
||||||
self.set_width(self.width, stretch=True)
|
self.set_width(self.width, stretch=True)
|
||||||
self.set_height(self.height, stretch=True)
|
self.set_height(self.height, stretch=True)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue