[page:Interpolant] →
[name]
Example
var interpolant = new v3d.[name](
new Float32Array(2),
new Float32Array(2),
1,
new Float32Array(1)
);
interpolant.evaluate(0.5);
Constructor
[name](parameterPositions, sampleValues, sampleSize, resultBuffer)
parameterPositions -- array of positions
sampleValues -- array of samples
sampleSize -- number of samples
resultBuffer -- buffer to store the interpolation results.
Properties
[property:null parameterPositions]
[property:null resultBuffer]
[property:null sampleValues]
[property:Object settings]
[property:null valueSize]
Methods
[method:null evaluate]([page:Number t])
Evaluate the interpolant at position *t*.
[sourceHint]