bevy/examples/gizmos
Tim Leach b09f3bdfe6
Switch to portable RNG in examples (#12644)
# Objective

Fixes issue #12613 - the RNG used in examples is _deterministic_, but
its implementation is not _portable_ across platforms. We want to switch
to using a portable RNG that does not vary across platforms, to ensure
certain examples play out the same way every time.

## Solution

Replace all occurences of `rand::rngs::StdRng` with
`rand_chacha::ChaCha8Rng`, as recommended in issue #12613

---

## Changelog

- Add `rand_chacha` as a new dependency (controversial?)
- Replace all occurences of `rand::rngs::StdRng` with
`rand_chacha::ChaCha8Rng`
2024-03-22 20:25:49 +00:00
..
2d_gizmos.rs Gizmo 3d grids (#12430) 2024-03-13 18:51:53 +00:00
3d_gizmos.rs Gizmo line joints (#12252) 2024-03-11 19:21:32 +00:00
axes.rs Switch to portable RNG in examples (#12644) 2024-03-22 20:25:49 +00:00
light_gizmos.rs Add basic light gizmos (#12228) 2024-03-03 18:50:46 +00:00