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

Function RandomSampler_get2D

tutorials/common/math/random_sampler.h:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93__forceinline Vec2f RandomSampler_get2D(RandomSampler& self)
94{
95 const float u = RandomSampler_get1D(self);
96 const float v = RandomSampler_get1D(self);
97 return Vec2f(u,v);
98}
99
100__forceinline Vec3fa RandomSampler_get3D(RandomSampler& self)
101{

Callers 2

renderPixelFunctionFunction · 0.85
renderPixelAOShaderFunction · 0.85

Calls 1

RandomSampler_get1DFunction · 0.85

Tested by

no test coverage detected