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

Function make_Sample3f

tutorials/common/math/sampling.h:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21};
22
23inline Sample3f make_Sample3f(const Vec3fa& v, const float pdf) {
24 Sample3f s; s.v = v; s.pdf = pdf; return s;
25}
26
27#if defined(ISPC)
28inline Sample3f make_Sample3f(const Vec3fa& v, const float pdf) {

Callers 14

sample_component2Function · 0.85
AnisotropicBlinn__sampleFunction · 0.85
MirrorMaterial__sampleFunction · 0.85
OBJMaterial__evalFunction · 0.85
OBJMaterial__sampleFunction · 0.85
MetalMaterial__sampleFunction · 0.85
Material__sampleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected