Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a consistent seed for AABB gizmo colors (#9030)
# Objective The bounding box colors are from bevy_gizmo are randomized between app runs. This can get confusing for users. ## Solution Use a fixed seed with `RandomState::with_seeds` rather than initializing a `AHash`. The random number was chose so that the first few colors are clearly distinct. According to the `RandomState::hash_one` documentation, it's also faster.  --- ## Changelog * bevy_gizmo: Keep a consistent color for AABBs of identical entities between runs
- Loading branch information