Skip to content

Commit cbae780

Browse files
author
Lauren McCarthy
committed
fixing documentation for curvePoint closes #3108
1 parent 6df2449 commit cbae780

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/core/shape/curves.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -452,16 +452,16 @@ p5.prototype.curveTightness = function(t) {
452452

453453
/**
454454
* Evaluates the curve at position t for points a, b, c, d.
455-
* The parameter t varies between 0 and 1, a and d are points
456-
* on the curve, and b and c are the control points.
455+
* The parameter t varies between 0 and 1, a and d are control points
456+
* of the curve, and b and c are the start and end points of the curve.
457457
* This can be done once with the x coordinates and a second time
458458
* with the y coordinates to get the location of a curve at t.
459459
*
460460
* @method curvePoint
461-
* @param {Number} a coordinate of first point on the curve
462-
* @param {Number} b coordinate of first control point
463-
* @param {Number} c coordinate of second control point
464-
* @param {Number} d coordinate of second point on the curve
461+
* @param {Number} a coordinate of first control point of the curve
462+
* @param {Number} b coordinate of first point
463+
* @param {Number} c coordinate of second point
464+
* @param {Number} d coordinate of second control point
465465
* @param {Number} t value between 0 and 1
466466
* @return {Number} bezier value at position t
467467
* @example

0 commit comments

Comments
 (0)