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

Function RandomSampler_getFloat

tutorials/common/math/random_sampler.h:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85__forceinline float RandomSampler_getFloat(RandomSampler& self) {
86 return (float)RandomSampler_getInt(self) * 4.656612873077392578125e-10f;
87}
88
89__forceinline float RandomSampler_get1D(RandomSampler& self) {
90 return RandomSampler_getFloat(self);

Callers 7

random_floatMethod · 0.85
addRandomSubdivFeaturesFunction · 0.85
createPointsFunction · 0.85
renderPixelStandardFunction · 0.85
forest_device.cppFile · 0.85
RandomSampler_get1DFunction · 0.85
createHairyPlaneMethod · 0.85

Calls 1

RandomSampler_getIntFunction · 0.85

Tested by

no test coverage detected