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

@@ -29,4 +29,4 @@ vec.rotate(eul)
# transformations with more flexibility
mat_rot = eul.to_matrix()
mat_loc = mathutils.Matrix.Translation((2.0, 3.0, 4.0))
mat = mat_loc * mat_rot.to_4x4()
mat = mat_loc @ mat_rot.to_4x4()