Skip to content

Commit ef2f4e6

Browse files
authored
Merge pull request #7987 from shawdm/fix-bezierPoint-docs
Fix parameter documentation for bezierPoint
2 parents 310afae + c96fe1a commit ef2f4e6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/core/shape/curves.js

Lines changed: 8 additions & 8 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
*
@@ -950,10 +950,10 @@ p5.prototype.curveTightness = function(t) {
950950
* between them.
951951
*
952952
* @method curvePoint
953-
* @param {Number} a coordinate of first anchor point.
954-
* @param {Number} b coordinate of first control point.
955-
* @param {Number} c coordinate of second control point.
956-
* @param {Number} d coordinate of second anchor point.
953+
* @param {Number} a coordinate of first control point.
954+
* @param {Number} b coordinate of first anchor point.
955+
* @param {Number} c coordinate of second anchor point.
956+
* @param {Number} d coordinate of second control point.
957957
* @param {Number} t amount to interpolate between 0 and 1.
958958
* @return {Number} coordinate of a point on the curve.
959959
*

0 commit comments

Comments
 (0)