Skip to content

Commit 7153548

Browse files
authored
Update LinearInterpolation.js
1 parent afb0765 commit 7153548

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/math/interpolation/LinearInterpolation.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
var Linear = require('../Linear');
88

99
/**
10-
* [description]
10+
* A Linear Interpolation Method.
1111
*
1212
* @function Phaser.Math.Interpolation.Linear
1313
* @since 3.0.0
14+
* @see https://en.wikipedia.org/wiki/Linear_interpolation
1415
*
15-
* @param {float} v - [description]
16-
* @param {number} k - [description]
16+
* @param {number[]} v - The input array of values to interpolate between.
17+
* @param {!number} k - The percentage of interploation, between 0 and 1.
1718
*
18-
* @return {number} [description]
19+
* @return {!number} The interpolated value.
1920
*/
2021
var LinearInterpolation = function (v, k)
2122
{

0 commit comments

Comments
 (0)