Skip to content

Commit 6c3f7a1

Browse files
committed
Fix rotation order
1 parent ad17c00 commit 6c3f7a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

animatedledstrip/rotation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self,
3434
self.z_rotation: float = z_rotation
3535

3636
if rotation_order is None:
37-
self.rotation_order = ['ROTATE_X', 'ROTATE_Z']
37+
self.rotation_order = ['ROTATE_Z', 'ROTATE_X']
3838
else:
3939
self.rotation_order = rotation_order
4040

@@ -61,7 +61,7 @@ def __init__(self,
6161
self.z_rotation: float = z_rotation
6262

6363
if rotation_order is None:
64-
self.rotation_order = ['ROTATE_X', 'ROTATE_Z']
64+
self.rotation_order = ['ROTATE_Z', 'ROTATE_X']
6565
else:
6666
self.rotation_order = rotation_order
6767

0 commit comments

Comments
 (0)