lendControlInterpolant method
dynamic
lendControlInterpolant()
Implementation
lendControlInterpolant() {
var interpolants = _controlInterpolants, lastActiveIndex = _nActiveControlInterpolants++;
var interpolant = interpolants[lastActiveIndex];
if (interpolant == null) {
print(" AnimationMixer LinearInterpolant init todo ");
interpolant =
LinearInterpolant(List<num>.filled(2, 0), List<num>.filled(2, 0), 1, _controlInterpolantsResultBuffer);
interpolant.__cacheIndex = lastActiveIndex;
interpolants[lastActiveIndex] = interpolant;
}
return interpolant;
}