Skip to content

Commit

Permalink
Merge pull request #7129 from Abhinavcode13/update-quad-docs
Browse files Browse the repository at this point in the history
fix: Correct default parameters for quad in y-direction
  • Loading branch information
Qianqianye authored Jul 15, 2024
2 parents d6037dd + cf844e5 commit 4eae381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/shape/2d_primitives.js
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ p5.prototype.point = function(...args) {
*
* The thirteenth and fourteenth parameters are optional. In WebGL mode, they
* set the number of segments used to draw the quadrilateral in the x- and
* y-directions. They're both 25 by default.
* y-directions. They're both 2 by default.
*
* @method quad
* @param {Number} x1 the x-coordinate of the first point.
Expand Down

0 comments on commit 4eae381

Please sign in to comment.