const interpolant = new v3d.CubicInterpolant(
new Float32Array(2),
new Float32Array(2),
1,
new Float32Array(1)
);
interpolant.evaluate(0.5);
parameterPositions -- array of positions
sampleValues -- array of samples
sampleSize -- number of samples
resultBuffer -- buffer to store the interpolation results.
Evaluate the interpolant at position t.
For more info on how to obtain the source code of this module see this page.