@preference-sl/gltf_merger_wasm
v1.3.1
Published
Modulo WASM para procesamiento de archivos GLTF.
Readme
gltf_merger_wasm
Modulo WASM para procesamiento de archivos GLTF.
Upon install, postinstall copies into the consumer project:
- public/preference-sl/gltf_merger_wasm/PrefGltfMergerWasm.js
- public/preference-sl/gltf_merger_wasm/PrefGltfMergerWasm.wasm
Env vars:
- PUBLIC_DIR — destination root (auto-detects public, wwwroot, or src/assets if not set)
- WASM_SUBDIR — subfolder for WASM files (default: package root)
Usage
`javascript import createModule from '@preference-sl/gltf_merger_wasm';
// Initialize WASM module const module = await createModule();
// Use exported functions const merger = new module.GltfMerger();
