Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/embree
/ lerp
Function
lerp
scripts/generate_motion_derivative_coefficients.py:24–25 ·
view source on GitHub ↗
(v0,v1,t)
Source
from the content-addressed store, hash-verified
22
23
# simple linear interpolation wrapper
24
def
lerp(v0,v1,t):
25
return
v0*(1-t)+v1*t
26
27
# custom quaternion to matrix conversion
28
def
to_rotation_matrix(q):
Callers
1
generate_motion_derivative_coefficients.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected