MCPcopy Create free account
hub / github.com/RenderKit/embree / RandomSampler_getUInt

Function RandomSampler_getUInt

tutorials/common/math/random_sampler.h:81–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81__forceinline unsigned int RandomSampler_getUInt(RandomSampler& self) {
82 self.s = LCG_next(self.s); return self.s;
83}
84
85__forceinline float RandomSampler_getFloat(RandomSampler& self) {
86 return (float)RandomSampler_getInt(self) * 4.656612873077392578125e-10f;

Callers 8

RandomSampler_get3DFunction · 0.85
createGarbageQuadMeshMethod · 0.85
createGarbageGridMeshMethod · 0.85
createGarbageHairMethod · 0.85
createGarbagePointSetMethod · 0.85

Calls 1

LCG_nextFunction · 0.85

Tested by

no test coverage detected