Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set corners of :class:~.Rectangle in counterclockwise direction #1249

Merged
merged 8 commits into from Apr 6, 2021
10 changes: 5 additions & 5 deletions manim/mobject/geometry.py
Expand Up @@ -1394,10 +1394,10 @@ def get_vertices(self):
>>> sq = Square()
>>> points = sq.get_vertices()
>>> points
array([[-1., 1., 0.],
[ 1., 1., 0.],
[ 1., -1., 0.],
[-1., -1., 0.]])
array([[ 1., 1., 0.],
[-1., 1., 0.],
[-1., -1., 0.],
[ 1., -1., 0.]])

Returns
-------
Expand Down Expand Up @@ -1820,7 +1820,7 @@ def __init__(
):
self.mark_paths_closed = mark_paths_closed
self.close_new_points = close_new_points
Polygon.__init__(self, UL, UR, DR, DL, color=color, **kwargs)
Polygon.__init__(self, UR, UL, DL, DR, color=color, **kwargs)
self.stretch_to_fit_width(width)
self.stretch_to_fit_height(height)

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified tests/control_data/graphical_units_data/threed/CameraMoveTest.npz
Binary file not shown.
Binary file modified tests/control_data/graphical_units_data/threed/CubeTest.npz
Binary file not shown.