Documentation
¶
Overview ¶
Package rng seeds the family's deterministic random streams. A run is reproduced from a single integer seed, and unrelated systems draw from independent sub-streams so adding or reordering one never disturbs another's sequence.
Stream is the shared primitive: a base seed plus a stream id selects an independent math/rand/v2.Rand. Generation-side code that wants the integer-range and probability helpers uses [worldgen.RNG] instead, which wraps the same PCG source.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.