Skip to content

Commit 6d7b28d

Browse files
authored
Fleshing out docs
1 parent 7153548 commit 6d7b28d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/math/Linear.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
*/
66

77
/**
8-
* [description]
8+
* Calculates a linear (interpolation) value over t.
99
*
1010
* @function Phaser.Math.Linear
1111
* @since 3.0.0
1212
*
13-
* @param {number} p0 - [description]
14-
* @param {number} p1 - [description]
15-
* @param {float} t - [description]
13+
* @param {number} p0 - The first point
14+
* @param {number} p1 - The second point
15+
* @param {float} t -The percentage between p0 and p1 to return represented as a number between 0 and 1.
1616
*
17-
* @return {number} [description]
17+
* @return {number} The step t% of the way between p0 and p1
1818
*/
1919
var Linear = function (p0, p1, t)
2020
{

0 commit comments

Comments
 (0)