@@ -237,10 +237,10 @@ function curves(p5, fn){
237
237
* between them.
238
238
*
239
239
* @method bezierPoint
240
- * @param {Number } a coordinate of first control point.
241
- * @param {Number } b coordinate of first anchor point.
242
- * @param {Number } c coordinate of second anchor point.
243
- * @param {Number } d coordinate of second control point.
240
+ * @param {Number } a coordinate of first anchor point.
241
+ * @param {Number } b coordinate of first control point.
242
+ * @param {Number } c coordinate of second control point.
243
+ * @param {Number } d coordinate of second anchor point.
244
244
* @param {Number } t amount to interpolate between 0 and 1.
245
245
* @return {Number } coordinate of the point on the curve.
246
246
*
@@ -684,10 +684,10 @@ function curves(p5, fn){
684
684
* between them.
685
685
*
686
686
* @method splinePoint
687
- * @param {Number } a coordinate of first anchor point.
688
- * @param {Number } b coordinate of first control point.
689
- * @param {Number } c coordinate of second control point.
690
- * @param {Number } d coordinate of second anchor point.
687
+ * @param {Number } a coordinate of first control point.
688
+ * @param {Number } b coordinate of first anchor point.
689
+ * @param {Number } c coordinate of second anchor point.
690
+ * @param {Number } d coordinate of second control point.
691
691
* @param {Number } t amount to interpolate between 0 and 1.
692
692
* @return {Number } coordinate of a point on the curve.
693
693
*
0 commit comments