bevy/examples/math
krunchington a33161cf5b
Update render_primitives example for children! macro (#18268)
# Objective

Contributes to #18238 
Updates the `render_primitives` example to use the `children!` macro.  

## Solution

Updates examples to use the Improved Spawning API merged in
https://github.com/bevyengine/bevy/pull/17521

## Testing

- Did you test these changes? If so, how?
- Opened the examples before and after and verified the same behavior
was observed. I did this on Ubuntu 24.04.2 LTS using `--features
wayland`.
- Are there any parts that need more testing?
- Other OS's and features can't hurt, but this is such a small change it
shouldn't be a problem.
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
  - Run the examples yourself with and without these changes.
- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?
  - see above

---

## Showcase

n/a

## Migration Guide

n/a
2025-03-12 04:49:07 +00:00
..
bounding_2d.rs Move bounding_2d example to math folder (#17523) 2025-01-28 05:29:05 +00:00
cubic_splines.rs simplify example, replace get_single to Single Query (#16187) 2024-11-01 18:25:42 +00:00
custom_primitives.rs Fix non-crate typos (#18219) 2025-03-11 06:17:48 +00:00
random_sampling.rs Allow clippy::too_many_arguments to lint without warnings (#17249) 2025-01-09 07:26:15 +00:00
render_primitives.rs Update render_primitives example for children! macro (#18268) 2025-03-12 04:49:07 +00:00
sampling_primitives.rs Allow clippy::too_many_arguments to lint without warnings (#17249) 2025-01-09 07:26:15 +00:00