From cf844e5b2d85c72c2fb983db689f585acf79f2b4 Mon Sep 17 00:00:00 2001 From: Abhinav kumar <126642111+Abhinavcode13@users.noreply.github.com> Date: Sat, 13 Jul 2024 17:28:30 +0530 Subject: [PATCH] fix: Correct default parameters for quad in y-direction --- src/core/shape/2d_primitives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/shape/2d_primitives.js b/src/core/shape/2d_primitives.js index a7dc98f9b4..8dd47e1299 100644 --- a/src/core/shape/2d_primitives.js +++ b/src/core/shape/2d_primitives.js @@ -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.