mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
PyDoc: include buffer access in examples, cleanup
Note that buffer access is possible, also minor mathutils test cleanup.
This commit is contained in:
parent
e297fb4f14
commit
990f0863e8
6 changed files with 22 additions and 6 deletions
|
|
@ -30,3 +30,6 @@ vec.rotate(eul)
|
|||
mat_rot = eul.to_matrix()
|
||||
mat_loc = mathutils.Matrix.Translation((2.0, 3.0, 4.0))
|
||||
mat = mat_loc @ mat_rot.to_4x4()
|
||||
|
||||
# Direct buffer access is supported.
|
||||
print(memoryview(eul).tobytes())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue