Skip to content

Commit c96fe1a

Browse files
committed
Fix parameter documentation for curvePoint
1 parent 3d63026 commit c96fe1a

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
@@ -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)