mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
cf4baf8fbf
# 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 |