diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-03 18:44:36 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-03 18:44:36 +0300 |
commit | a43ebc63fafeb3b945529117a2efacc80399d272 (patch) | |
tree | d8ab3e90e50177874f2423b3bc1486548dccd7dd /doc/python_api/examples | |
parent | b46e987a70682fcfc227ec71e9726c3ad6a230db (diff) | |
parent | 265ec400ab1945cd7bc78d50b7d8f184c01fdd10 (diff) |
Merge branch 'master' into blender2.8
Conflicts:
source/blender/blenkernel/intern/collision.c
Diffstat (limited to 'doc/python_api/examples')
-rw-r--r-- | doc/python_api/examples/mathutils.Color.py | 4 | ||||
-rw-r--r-- | doc/python_api/examples/mathutils.Quaternion.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/python_api/examples/mathutils.Color.py b/doc/python_api/examples/mathutils.Color.py index a55f1195bf6..cedda98ae53 100644 --- a/doc/python_api/examples/mathutils.Color.py +++ b/doc/python_api/examples/mathutils.Color.py @@ -26,5 +26,5 @@ col += mathutils.Color((0.25, 0.0, 0.0)) # can printed as integers print("Color: %d, %d, %d" % (col * 255.0)[:]) -# This example prints the color as hexidecimal -print("Hexidecimal: %.2x%.2x%.2x" % (col * 255.0)[:]) +# This example prints the color as hexadecimal +print("Hexadecimal: %.2x%.2x%.2x" % (col * 255.0)[:]) diff --git a/doc/python_api/examples/mathutils.Quaternion.py b/doc/python_api/examples/mathutils.Quaternion.py index 7e5538b7a96..8a40389a8d6 100644 --- a/doc/python_api/examples/mathutils.Quaternion.py +++ b/doc/python_api/examples/mathutils.Quaternion.py @@ -15,7 +15,7 @@ quat_a = mathutils.Quaternion((0.0, 1.0, 0.0), math.radians(90.0)) quat_b = mathutils.Quaternion((0.0, 0.0, 1.0), math.radians(45.0)) quat_out = quat_a * quat_b -# print the quat, euler degrees for mear mortals and (axis, angle) +# print the quat, euler degrees for mere mortals and (axis, angle) print("Final Rotation:") print(quat_out) print("%.2f, %.2f, %.2f" % tuple(math.degrees(a) for a in quat_out.to_euler())) |