hermite(pt1: number , m1: number , m2: number , pt2: number ): number

A second order function returning an evaluator for the given 1D Hermite curve

parampt1- First point

paramm1- First control point (tangent)

paramm2- Second control point (tangent)

parampt2- Second point

returnsA function which gives the value on the 1D Hermite curve at t