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

Method random_bool

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

Source from the content-addressed store, hash-verified

32 }
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); }

Callers

nothing calls this directly

Calls 1

RandomSampler_getIntFunction · 0.85

Tested by

no test coverage detected