diff options
Diffstat (limited to 'doc/python_api')
-rw-r--r-- | doc/python_api/examples/mathutils.Euler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/mathutils.Euler.py b/doc/python_api/examples/mathutils.Euler.py index 3f87cc0ab04..bfd2a3ed5a0 100644 --- a/doc/python_api/examples/mathutils.Euler.py +++ b/doc/python_api/examples/mathutils.Euler.py @@ -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) |