diff --git a/package.json5 b/package.json5 index 3250eec..db040e2 100644 --- a/package.json5 +++ b/package.json5 @@ -34,7 +34,7 @@ url: 'https://code.studioinfinity.org/glen/archematics.git', }, devDependencies: { - '@danielx/civet': '^0.6.76', + '@danielx/civet': '^0.6.78', '@types/firefox-webext-browser': '^120.0.0', '@types/jquery': '^3.5.29', '@webcomponents/custom-elements': '^1.6.0', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 97d0013..7041c5f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,8 +14,8 @@ dependencies: devDependencies: '@danielx/civet': - specifier: ^0.6.76 - version: 0.6.76(typescript@5.3.3) + specifier: ^0.6.78 + version: 0.6.78(typescript@5.3.3) '@types/firefox-webext-browser': specifier: ^120.0.0 version: 120.0.0 @@ -47,8 +47,8 @@ packages: '@jridgewell/trace-mapping': 0.3.9 dev: true - /@danielx/civet@0.6.76(typescript@5.3.3): - resolution: {integrity: sha512-pOXbht6MAr56kNxXOJj9p+od3uRgnrLGxBL8oqM3ox4blXe6ufICC/ubiRjZQ+bZP5odaYDe7rhzGDIEc53N6A==} + /@danielx/civet@0.6.78(typescript@5.3.3): + resolution: {integrity: sha512-GT8+Y+MIF7+SkiMSbh2diXWZckjbmWb8nPv17RAwYjFwhI5Z6lXtil+KPX2rVf0C/0ZFksYM65Rp2dJYxMYT3w==} engines: {node: '>=19 || ^18.6.0 || ^16.17.0'} hasBin: true peerDependencies: diff --git a/src/prism.civet b/src/prism.civet index d8a5658..b32c218 100644 --- a/src/prism.civet +++ b/src/prism.civet @@ -146,8 +146,7 @@ shapeMethods: Record := coords := alternate botzig, topzig faces := for i of [0...2*n] - if i%2 - [2*n + 1, (i+2)%(2*n), (i+1)%(2*n), i] + if i%2 then [2*n + 1, (i+2)%(2*n), (i+1)%(2*n), i] else [2*n, i, i+1, (i+2)%(2*n)] vrml := firstFaces name, '0.3 0.5 0.9', coords, faces