Skip to content

Commit

Permalink
fix orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
paolini committed Jan 25, 2025
1 parent 6c12d24 commit 80a8c5a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/src/surfs/sphere.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ export class Sphere extends Surf {
const v111 = this.addVertex( .5, .5, .5)

// 6 facets
this.addQuad(0,v000,v010,v011,v001)
this.addQuad(0,v000,v001,v101,v100)
this.addQuad(0,v000,v100,v110,v010)
this.addQuad(0,v100,v101,v111,v110)
this.addQuad(0,v010,v110,v111,v011)
this.addQuad(0,v001,v011,v111,v101)
this.addQuad(0,v000,v001,v011,v010)
this.addQuad(0,v000,v100,v101,v001)
this.addQuad(0,v000,v010,v110,v100)
this.addQuad(0,v100,v110,v111,v101)
this.addQuad(0,v010,v011,v111,v110)
this.addQuad(0,v001,v101,v111,v011)
}

run() {}
Expand Down

0 comments on commit 80a8c5a

Please sign in to comment.