UNPKG

@loaders.gl/draco

Version:

Framework-independent loader and writer for Draco compressed meshes and point clouds

6 lines (5 loc) 255 B
// Polyfills increases the bundle size significantly. Use it for NodeJS worker only import '@loaders.gl/polyfills'; import { createLoaderWorker } from '@loaders.gl/loader-utils'; import { DracoLoader } from "../index.js"; createLoaderWorker(DracoLoader);