feat: Reimplementation of prism generator #65
@ -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',
|
||||
|
@ -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:
|
||||
|
@ -146,8 +146,7 @@ shapeMethods: Record<string, ShapeMethod> :=
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user