MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / RandomNumberGenerator

Method RandomNumberGenerator

core/src/core/sampling.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27// --------------------------------------------------------------------------------------------------------------------
28
29RandomNumberGenerator::RandomNumberGenerator()
30 : mGenerator(static_cast<int>(time(NULL)))
31 , mUniformDistribution(0, std::numeric_limits<int>::max())
32 , mUniformDistributionNormalized(0.0f, 1.0f)
33{}
34
35int RandomNumberGenerator::uniformRandom()
36{

Callers

nothing calls this directly

Calls 1

maxFunction · 0.70

Tested by

no test coverage detected