Skip to content

Commit

Permalink
Update src/webgl/3d_primitives.js
Browse files Browse the repository at this point in the history
  • Loading branch information
davepagurek authored Oct 20, 2023
1 parent d8ff4ff commit dd2d3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webgl/3d_primitives.js
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,7 @@ p5.RendererGL.prototype.quad = function(x1, y1, z1, x2, y2, z2, x3, y3, z3, x4,
quadGeom.faces.push([pt0, pt2, pt3]);
}
}
quadGeom.computeNormals()
quadGeom.computeNormals();
quadGeom.edges.length = 0;
const vertexOrder = [0, 2, 3, 1];
for (let i = 0; i < vertexOrder.length; i++) {
Expand Down

0 comments on commit dd2d3a0

Please sign in to comment.