We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7153548 commit 6d7b28dCopy full SHA for 6d7b28d
1 file changed
src/math/Linear.js
@@ -5,16 +5,16 @@
5
*/
6
7
/**
8
- * [description]
+ * Calculates a linear (interpolation) value over t.
9
*
10
* @function Phaser.Math.Linear
11
* @since 3.0.0
12
13
- * @param {number} p0 - [description]
14
- * @param {number} p1 - [description]
15
- * @param {float} t - [description]
+ * @param {number} p0 - The first point
+ * @param {number} p1 - The second point
+ * @param {float} t -The percentage between p0 and p1 to return represented as a number between 0 and 1.
16
17
- * @return {number} [description]
+ * @return {number} The step t% of the way between p0 and p1
18
19
var Linear = function (p0, p1, t)
20
{
0 commit comments