Skip to content

Commit 3d63026

Browse files
committed
Fix parameter documentation for bezierPoint
1 parent 509d2b9 commit 3d63026

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core/shape/curves.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,10 @@ p5.prototype.bezierDetail = function(d) {
344344
* between them.
345345
*
346346
* @method bezierPoint
347-
* @param {Number} a coordinate of first control point.
348-
* @param {Number} b coordinate of first anchor point.
349-
* @param {Number} c coordinate of second anchor point.
350-
* @param {Number} d coordinate of second control point.
347+
* @param {Number} a coordinate of first anchor point.
348+
* @param {Number} b coordinate of first control point.
349+
* @param {Number} c coordinate of second control point.
350+
* @param {Number} d coordinate of second anchor point.
351351
* @param {Number} t amount to interpolate between 0 and 1.
352352
* @return {Number} coordinate of the point on the curve.
353353
*

0 commit comments

Comments
 (0)