Skip to content

Commit

Permalink
alternation
Browse files Browse the repository at this point in the history
  • Loading branch information
tesseralis committed Jan 3, 2022
1 parent f26ac24 commit 3b7eedc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions math/operations/truncateOps/truncateCapstone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ export const alternate = makeOpPair<Capstone>({
(c) => c.isAntiprism() && c.isPrismatic() && c.isPrimary(),
)) {
if (entry.isDigonal()) {
// yield {
// left: entry.withData({ elongation: "prism", base: 4 }),
// right: entry,
// }
yield {
left: entry.withData({ elongation: "prism", base: 4 }),
right: entry,
}
continue
}
yield {
Expand Down Expand Up @@ -175,10 +175,10 @@ export const alternate = makeOpPair<Capstone>({
break
}
case "right": {
// if (forme.specs.isDigonal()) {
// orientation = [top, top.edges[0].face] as const
// break
// }
if (forme.specs.isDigonal()) {
orientation = [top, top.edges[0].face] as const
break
}
orientation = [top, top.edges[0]] as const
break
}
Expand Down

0 comments on commit 3b7eedc

Please sign in to comment.