distributed_physics_test/src/game/rng.rs
Michael Bradley fc95857824
Make more random
At least, make the stuff that doesn't need to be deterministic non-deterministic
2025-05-19 21:23:58 -04:00

7 lines
157 B
Rust

use rand::random;
use wyrand::WyRand;
/// Initialize a `WyRand` using `rand`'s thread-local rng
pub fn thread_rng() -> WyRand {
WyRand::new(random())
}