spline_hermite3
spline_hermite3(t, p0, p1, m0, m1) ⇒ number
Perform cubic hermite interpolation
Kind: global function
See: https://en.wikipedia.org/wiki/Cubic_Hermite_spline
Param | Type | Description |
---|---|---|
t | number | normalized interpolation position in interval [0,1] |
p0 | number | first value |
p1 | number | second value |
m0 | number | first tangent (tangent exiting from first value) |
m1 | number | second tangent (tangent entering into second value) |