MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / RandomFloat

Method RandomFloat

SampleFramework12/v1.00/SF12_Math.cpp:1254–1258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1252}
1253
1254float Random::RandomFloat()
1255{
1256 // return distribution(engine);
1257 return (RandomUint() & 0xFFFFFF) / float(1 << 24);
1258}
1259
1260Float2 Random::RandomFloat2()
1261{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected