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

Function fade

tutorials/common/tutorial/noise.cpp:48–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 };
47
48 __forceinline float fade(float t) {
49 return (t * t * t) * (t * (t * 6 - 15) + 10);
50 }
51
52/*__forceinline float fade(float t) {
53 return t * t * (3 - t * 2);

Callers 1

noiseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected