![]() # Objective Fixes #13427. ## Solution I changed the traits, and updated all usages. ## Testing The `render_primitives` example still works perfectly. --- ## Changelog - Made `gizmos.primitive_2d()` and `gizmos.primitive_3d()` take the primitives by ref. ## Migration Guide - Any usages of `gizmos.primitive_2d()` and/or `gizmos.primitive_3d()` need to be updated to pass the primitive in by reference. |
||
---|---|---|
.. | ||
random_sampling.rs | ||
render_primitives.rs |