File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
crates/processing_pyo3/examples Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 44geometry = None
55grid_size = 20
66spacing = 10.0
7- offset = (grid_size * spacing ) / 2.0 ;
7+ offset = (grid_size * spacing ) / 2.0
88time = 0.0
99
1010def setup ():
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ user-facing API via an overload.
8383We never return pointers to data that lives in libprocessing. Because we use the ECS to manage Rust data, where longer
8484lifetimes are necessary we return an ` Entity ` id, which can be returned to the user as a ` u64 ` containing both the index
8585and generation of the ECS entity. Any data not representing an API-level object should be returned on the stack and
86- where an allocation is necessary (e.g. buffers for pixel data), it's the responsibility of the consumer to allocate a
86+ where an allocation is necessary (e.g. buffers for pixel data), it's the responsibility of the consumer to allocate and
8787provide the pointer to the requisite allocation.
8888
8989API-level objects should wrap ids and they should never be exposed to the user as a first-class concept. All data which
You can’t perform that action at this time.
0 commit comments