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

Method random_int

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

Source from the content-addressed store, hash-verified

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
39 avector<Vec3fa> random_motion_vector2(float f = 1.0f)

Callers

nothing calls this directly

Calls 1

RandomSampler_getIntFunction · 0.85

Tested by

no test coverage detected