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

Function eval

tutorials/common/tutorial/optics.h:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82};
83
84inline Vec3fa eval(const FresnelConductor& This, const float cosTheta) {
85 return fresnelConductor(cosTheta,This.eta,This.k);
86}
87
88inline FresnelConductor make_FresnelConductor(const Vec3fa& eta, const Vec3fa& k) {
89 FresnelConductor m; m.eta = eta; m.k = k; return m;

Callers 1

MetalMaterial__evalFunction · 0.50

Calls 5

fresnelConductorFunction · 0.85
fresnelDielectricFunction · 0.85
Vec3faClass · 0.50
powFunction · 0.50
absFunction · 0.50

Tested by

no test coverage detected