linearInterpolation(v, k) → {number}
A Linear Interpolation Method, mostly used by Phaser.Tween.
Parameters
Name | Type | Description |
---|---|---|
v | Array | The input array of values to interpolate between. |
k | number | The percentage of interpolation, between 0 and 1. |
Returns
number -
The interpolated value
- Source code: math/Math.js (Line 741)
Please login to continue.