Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Correct default parameters for quad in y-direction
  • Loading branch information
Abhinavcode13 committed Jul 13, 2024
commit cf844e5b2d85c72c2fb983db689f585acf79f2b4
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