Skip to content

Commit d16f448

Browse files
committed
add support for portal 2 demo files
1 parent 0787832 commit d16f448

File tree

4 files changed

+606
-0
lines changed

4 files changed

+606
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "src/handlers/qoi-fu"]
55
path = src/handlers/qoi-fu
66
url = https://github.com/pfusik/qoi-fu
7+
[submodule "src/handlers/sppd"]
8+
path = src/handlers/sppd
9+
url = https://github.com/p2r3/sppd

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@
2020
"@ffmpeg/util": "^0.12.2",
2121
"@imagemagick/magick-wasm": "^0.0.37",
2222
"@types/meyda": "^5.3.0",
23+
"@types/three": "^0.182.0",
2324
"meyda": "^5.6.3",
2425
"mime": "^4.1.0",
2526
"pdftoimg-js": "^0.2.5",
27+
"three": "^0.182.0",
28+
"three-bvh-csg": "^0.0.17",
29+
"three-mesh-bvh": "^0.9.8",
2630
"vite-plugin-static-copy": "^3.1.6",
2731
"wavefile": "^11.0.0"
2832
}

src/handlers/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import renameHandler from "./rename.ts";
99
import envelopeHandler from "./envelope.ts";
1010
import svgForeignObjectHandler from "./svgForeignObject.ts";
1111
import qoiFuHandler from "./qoi-fu.ts";
12+
import sppdHandler from "./sppd.ts";
1213

1314
const handlers: FormatHandler[] = [
1415
new canvasToBlobHandler(),
@@ -20,5 +21,6 @@ const handlers: FormatHandler[] = [
2021
new envelopeHandler(),
2122
new svgForeignObjectHandler(),
2223
new qoiFuHandler(),
24+
new sppdHandler(),
2325
];
2426
export default handlers;

0 commit comments

Comments
 (0)