Contents

SushiEngine::Loop

seed_rng

RNGState seed_rng(std::uint64_t seed) noexcept

Parameters

NameTypeDescription
seedstd::uint64_t

Any 64-bit value; 0 is valid and produces a well-mixed state.

Returns

RNGState

Description

Seeds an RNGState from one 64-bit seed.

See also

engine/foundation/core/include/README.md