Python API Docs: fix some examples

This commit is contained in:
2019-06-06 17:12:49 +02:00
parent 3abb1695cf
commit 3a7af37e28
17 changed files with 25 additions and 48 deletions

View File

@@ -13,7 +13,7 @@ print("Check quaternions match", quat_a == quat_b)
# like matrices, quaternions can be multiplied to accumulate rotational values
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
quat_out = quat_a @ quat_b
# print the quat, euler degrees for mere mortals and (axis, angle)
print("Final Rotation:")