lspline VEX function

Computes a linear spline between the key points.

Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex

  1. float lspline(float t, float val1)

  2. vector lspline(float t, vector val1)

  3. vector4 lspline(float t, vector4 val1)

Computes a linear spline between the key points. This is equivalent to a sequence of lerp() functions.