diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-24 21:04:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-24 21:04:53 +0400 |
commit | fc1040cc47594e2a68d120cf08c0c3c70fbc44d1 (patch) | |
tree | a530d83b6c7d107b1084cd993af23f41bd8b18ee /doc/python_api/examples | |
parent | 1731d47976e84e9a612ecfe3e30a4e3c2c295e56 (diff) |
Fix example
Diffstat (limited to 'doc/python_api/examples')
-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) |