Function base::gen::seeded_rng [] [src]

pub fn seeded_rng<T: Hash, U: Hash>(world_seed: u64, feat_seed: T, loc_seed: U) -> Random

Creates a seeded RNG for use in world gen.

This function takes 3 seed parameters which are hashed and mixed together.

Parameters