src/tween.js
/*
 * Get the interpolator for a value.
 */
Get the interpolator for a value.
Get the interpolator for a value .
function interpolator(value) {
	if (value instanceof Float32Array || _.isArray(value)) {
		return lerpArray;
	} else if (typeof value == 'number') {
		return lerpNumber;
	} else {
		return lerpDiscrete;
	}
}
function interpolator ( value ) { if ( value instanceof Float32Array || _ . isArray ( value ) ) { return lerpArray ; } else if ( typeof value == 'number' ) { return lerpNumber ; } else { return lerpDiscrete ; } }
Get the interpolator for a value.
Get the interpolator for a value .