Skip to content

Commit

Permalink
comment out broken colors for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tesseralis committed Dec 25, 2021
1 parent f2dbdb5 commit 10c32db
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions math/formes/CapstoneForme.ts
Expand Up @@ -265,20 +265,21 @@ class SnubCapstoneForme extends CapstoneForme {
}
}

faceAppearance(face: Face) {
const base = this.specs.data.base
if (this.isTop(face)) {
return CapstoneFace.capTop(base)
}

const endVertices = this.ends().flatMap((end) => end.vertices)
return CapstoneFace.capSide(
base,
face.vertices.map((v) => {
return v.inSet(endVertices) ? "top" : "base"
}),
)
}
// FIXME this breaks "twist"
// faceAppearance(face: Face) {
// const base = this.specs.data.base
// if (this.isTop(face)) {
// return CapstoneFace.capTop(base)
// }

// const endVertices = this.ends().flatMap((end) => end.vertices)
// return CapstoneFace.capSide(
// base,
// face.vertices.map((v) => {
// return v.inSet(endVertices) ? "top" : "base"
// }),
// )
// }
}

class MonoCapstoneForme extends CapstoneForme {
Expand Down

0 comments on commit 10c32db

Please sign in to comment.