We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afb0765 commit 7153548Copy full SHA for 7153548
1 file changed
src/math/interpolation/LinearInterpolation.js
@@ -7,15 +7,16 @@
7
var Linear = require('../Linear');
8
9
/**
10
- * [description]
+ * A Linear Interpolation Method.
11
*
12
* @function Phaser.Math.Interpolation.Linear
13
* @since 3.0.0
14
+ * @see https://en.wikipedia.org/wiki/Linear_interpolation
15
- * @param {float} v - [description]
16
- * @param {number} k - [description]
+ * @param {number[]} v - The input array of values to interpolate between.
17
+ * @param {!number} k - The percentage of interploation, between 0 and 1.
18
- * @return {number} [description]
19
+ * @return {!number} The interpolated value.
20
*/
21
var LinearInterpolation = function (v, k)
22
{
0 commit comments