MCPcopy 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
24def lerp(v0,v1,t):
25 return v0*(1-t)+v1*t
26
27# custom quaternion to matrix conversion
28def to_rotation_matrix(q):

Calls

no outgoing calls

Tested by

no test coverage detected