feat(3d-nds): use draco to compress glb model

This commit is contained in:
2026-02-24 15:26:54 +01:00
parent 806fd11dd1
commit a77d27b79c
22 changed files with 17 additions and 1978 deletions

View File

@@ -29,7 +29,7 @@ type ImageData = {
};
const IMAGE_EXTENSIONS = [".png", ".webp"];
const MODEL_EXTENSIONS = [".gltf"];
const MODEL_EXTENSIONS = [".glb"];
const MAX_WIDTH = 2048;
const toCamelCase = (str: string) => {