Skip to content
Open
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
Prev Previous commit
Next Next commit
fix linting errors
  • Loading branch information
deveshidwivedi authored Jan 19, 2024
commit f3e72da816b5143da29ae7a9861c2dc74bcc6093
10 changes: 5 additions & 5 deletions src/webgl/p5.Geometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ p5.Geometry = class Geometry {
* rotateX(frameCount * 0.01);
* rotateY(frameCount * 0.01);
*
* fill(255);
* stroke(0);
* fill(255);
* stroke(0);
* beginShape(TRIANGLES);
* for (let face of customGeometry.faces) {
* for (let vertexIndex of face) {
Expand All @@ -326,7 +326,7 @@ p5.Geometry = class Geometry {
* createVector(size / 2, size / 2, size / 2),
* createVector(-size / 2, size / 2, size / 2),
* createVector(-size / 2, size / 2, -size / 2),
* createVector(size / 2, size / 2, -size / 2)
* createVector(size / 2, size / 2, -size / 2)
* ];
* this.faces = [];
* this.computeFaces();
Expand Down Expand Up @@ -941,10 +941,10 @@ p5.Geometry = class Geometry {
* </div>
*
* @alt
* A continuously rotating square around the X and Y axes.
* A continuously rotating square around the X and Y axes.
* </code>
* </div>
*
*
*/
normalize() {
if (this.vertices.length > 0) {
Expand Down