mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Change cube face order
This commit is contained in:
parent
3a111cf3af
commit
4a3e4df2bd
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class Cube(SGroup):
|
|||
}
|
||||
|
||||
def init_points(self):
|
||||
for vect in IN, OUT, LEFT, RIGHT, UP, DOWN:
|
||||
for vect in [OUT, RIGHT, UP, LEFT, DOWN, IN]:
|
||||
face = Square3D(resolution=self.square_resolution)
|
||||
face.shift(OUT)
|
||||
face.apply_matrix(z_to_vector(vect))
|
||||
|
|
Loading…
Add table
Reference in a new issue