Skip to content
Merged
Changes from 1 commit
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
Next Next commit
removed unused parameters
  • Loading branch information
Gaweph committed Jan 22, 2022
commit e5ae3d4dbbf91a5eb6204f8c2462d42577e54682
13 changes: 2 additions & 11 deletions src/core/shape/vertex.js
Original file line number Diff line number Diff line change
Expand Up @@ -958,20 +958,11 @@ p5.prototype.quadraticVertex = function(...args) {
* @method vertex
* @param {Number} x
* @param {Number} y
* @param {Number} z z-coordinate of the vertex.
* @param {Number} [z] z-coordinate of the vertex.
* Defaults to 0 if not specified.
* @chainable
*/
/**
* @method vertex
* @param {Number} x
* @param {Number} y
* @param {Number} [z]
* @param {Number} u the vertex's texture u-coordinate
* @param {Number} v the vertex's texture v-coordinate
* @chainable
*/
p5.prototype.vertex = function(x, y, moveTo, u, v) {
p5.prototype.vertex = function(x, y, moveTo) {
if (this._renderer.isP3D) {
this._renderer.vertex(...arguments);
} else {
Expand Down