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

@@ -6,7 +6,7 @@ vec = mathutils.Vector((1.0, 2.0, 3.0))
mat_rot = mathutils.Matrix.Rotation(radians(90.0), 4, 'X')
mat_trans = mathutils.Matrix.Translation(vec)
mat = mat_trans * mat_rot
mat = mat_trans @ mat_rot
mat.invert()
mat3 = mat.to_3x3()