mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix example
This commit is contained in:
parent
1731d47976
commit
fc1040cc47
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ import math
|
|||
eul = mathutils.Euler((0.0, math.radians(45.0), 0.0), 'XYZ')
|
||||
|
||||
# rotate the euler
|
||||
eul.rotate_axis(math.radians(10.0), 'Z')
|
||||
eul.rotate_axis('Z', math.radians(10.0))
|
||||
|
||||
# you can access its components by attribute or index
|
||||
print("Euler X", eul.x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue