From 0baa6e4c976df94040be5cd2dc66eb49881ff1f6 Mon Sep 17 00:00:00 2001 From: Lauren McCarthy Date: Thu, 14 Jun 2018 19:26:10 -0700 Subject: [PATCH] adding to @lad475 changes to place documentation in correct place for quad --- src/core/2d_primitives.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/core/2d_primitives.js b/src/core/2d_primitives.js index 41796a6f30..e1c14b622c 100644 --- a/src/core/2d_primitives.js +++ b/src/core/2d_primitives.js @@ -305,10 +305,6 @@ p5.prototype.point = function() { * @param {Number} y3 the y-coordinate of the third point * @param {Number} x4 the x-coordinate of the fourth point * @param {Number} y4 the y-coordinate of the fourth point - * @param {Number} z1 the z-coordinate of the first point - * @param {Number} z2 the z-coordinate of the second point - * @param {Number} z3 the z-coordinate of the third point - * @param {Number} z4 the z-coordinate of the fourth point * @chainable * @example *
@@ -325,16 +321,16 @@ p5.prototype.point = function() { * @method quad * @param {Number} x1 * @param {Number} y1 - * @param {Number} z1 + * @param {Number} z1 the z-coordinate of the first point * @param {Number} x2 * @param {Number} y2 - * @param {Number} z2 + * @param {Number} z2 the z-coordinate of the second point * @param {Number} x3 * @param {Number} y3 - * @param {Number} z3 + * @param {Number} z3 the z-coordinate of the third point * @param {Number} x4 * @param {Number} y4 - * @param {Number} z4 + * @param {Number} z4 the z-coordinate of the fourth point * @chainable */ p5.prototype.quad = function() {