Performs cubic interpolation for the input arrays.
const interpolant = new v3d.CubicInterpolant(
new Float32Array(2),
new Float32Array(2),
1,
new Float32Array(1)
);
interpolant.evaluate(0.5);
Array of positions.
Array to store interpolation results.
Array of samples.
Optional, subclass-specific settings structure.
Number of samples.
Evaluate the interpolant at position t.
For more info on how to obtain the source code of this module see this page.