Skip to content

Commit dc33888

Browse files
author
Lauren McCarthy
committed
cleanup vertex
2 parents ab5843c + c740a4f commit dc33888

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/core/vertex.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,8 +604,7 @@ p5.prototype.quadraticVertex = function(cx, cy, x3, y3) {
604604
*/
605605
p5.prototype.vertex = function(x, y, moveTo) {
606606
if(this._renderer.isP3D){
607-
this._renderer.vertex
608-
(arguments[0], arguments[1], arguments[2]);
607+
this._renderer.vertex.call(arguments);
609608
}else{
610609
var vert = [];
611610
vert.isVert = true;
@@ -632,4 +631,4 @@ p5.prototype.vertex = function(x, y, moveTo) {
632631
return this;
633632
};
634633

635-
module.exports = p5;
634+
module.exports = p5;

0 commit comments

Comments
 (0)