bevy/examples/math
Olle Lukowski cf4baf8fbf
Make gizmos take primitives by ref (#13534)
# 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.
2024-05-27 13:48:47 +00:00
..
random_sampling.rs Example for random sampling (#13507) 2024-05-27 13:46:11 +00:00
render_primitives.rs Make gizmos take primitives by ref (#13534) 2024-05-27 13:48:47 +00:00