PyDoc: include buffer access in examples, cleanup
Note that buffer access is possible, also minor mathutils test cleanup.
This commit is contained in:
@@ -53,3 +53,6 @@ vec.xyz = vec.zyx
|
||||
vec.xy = vec4d.zw
|
||||
vec.xyz = vec4d.wzz
|
||||
vec4d.wxyz = vec.yxyx
|
||||
|
||||
# Direct buffer access is supported.
|
||||
raw_data = memoryview(vec).tobytes()
|
||||
|
||||
Reference in New Issue
Block a user