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

Method random_float

tutorials/verify/verify.h:35–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34 bool random_bool () { return RandomSampler_getInt (sampler) % 2; }
35 float random_float () { return RandomSampler_getFloat(sampler); }
36 int random_int () { return RandomSampler_getInt (sampler); }
37 Vec3fa random_Vec3fa() { return RandomSampler_get3D (sampler); }
38

Callers 1

getRandomTransformFunction · 0.80

Calls 1

RandomSampler_getFloatFunction · 0.85

Tested by

no test coverage detected