Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/embree
/ mylerp
Function
mylerp
tutorials/common/tutorial/noise.cpp:56–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
}*/
55
56
__forceinline float mylerp(float t, float a, float b) {
57
return a + t * (b - a);
58
}
59
60
__forceinline float grad(int hash, float x) {
61
return x*g1[hash&127];
Callers
1
noise
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected