interpolantFactoryMethodLinear method
Creates a new LinearInterpolant from the times and values. A Float32Array can be passed which will receive the results. Otherwise a new array with the appropriate size will be created automatically.
Implementation
Interpolant? interpolantFactoryMethodLinear(result) {
return LinearInterpolant(
times,
values,
getValueSize(),
result
);
}