arcade-physics
Version:
Use Arcade Physics without Phaser.
16 lines • 725 B
TypeScript
export default SmootherStepInterpolation;
/**
* A Smoother Step interpolation method.
*
* @function Phaser.Math.Interpolation.SmootherStep
* @since 3.9.0
* @see {@link https://en.wikipedia.org/wiki/Smoothstep#Variations}
*
* @param {number} t - The percentage of interpolation, between 0 and 1.
* @param {number} min - The minimum value, also known as the 'left edge', assumed smaller than the 'right edge'.
* @param {number} max - The maximum value, also known as the 'right edge', assumed greater than the 'left edge'.
*
* @return {number} The interpolated value.
*/
declare function SmootherStepInterpolation(t: number, min: number, max: number): number;
//# sourceMappingURL=SmootherStepInterpolation.d.ts.map