hermite(pt1: number, m1: number, m2: number, pt2: number): number
A second order function returning an evaluator for the given 1D Hermite curveparam
pt1 First point
param
m1 First control point (tangent)
param
m2 Second control point (tangent)
param
pt2 Second point
returns
A function which gives the value on the 1D Hermite curve at t