Skip to content

Commit

Permalink
not "createVector" but "myp5.createVector".
Browse files Browse the repository at this point in the history
I accidentally wrote "myp5.createVector" as "createVector". Just a typo. Excuse me.
  • Loading branch information
inaridarkfox4231 authored Jan 25, 2023
1 parent c1a9c69 commit dfccc74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit/webgl/p5.RendererGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -1399,10 +1399,10 @@ suite('p5.RendererGL', function() {
// geometry without aTexCoord.
const myGeom = new p5.Geometry(1, 1, function() {
this.gid = 'registerEnabledTest';
this.vertices.push(createVector(-8, -8));
this.vertices.push(createVector(8, -8));
this.vertices.push(createVector(8, 8));
this.vertices.push(createVector(-8, 8));
this.vertices.push(myp5.createVector(-8, -8));
this.vertices.push(myp5.createVector(8, -8));
this.vertices.push(myp5.createVector(8, 8));
this.vertices.push(myp5.createVector(-8, 8));
this.faces.push([0, 1, 2]);
this.faces.push([0, 2, 3]);
this.computeNormals();
Expand Down

0 comments on commit dfccc74

Please sign in to comment.