UNPKG

@loaders.gl/draco

Version:

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

7 lines (5 loc) 249 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'; createLoaderWorker(DracoLoader);