mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Python API Docs: fix some examples
This commit is contained in:
parent
3abb1695cf
commit
3a7af37e28
17 changed files with 25 additions and 48 deletions
|
|
@ -11,7 +11,7 @@ mat_sca = mathutils.Matrix.Scale(0.5, 4, (0.0, 0.0, 1.0))
|
|||
mat_rot = mathutils.Matrix.Rotation(math.radians(45.0), 4, 'X')
|
||||
|
||||
# combine transformations
|
||||
mat_out = mat_loc * mat_rot * mat_sca
|
||||
mat_out = mat_loc @ mat_rot @ mat_sca
|
||||
print(mat_out)
|
||||
|
||||
# extract components back out of the matrix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue