Make README comment about disabling WASM even more excruciatingly clear. (#843)

This commit is contained in:
Niklas Hambüchen 2022-04-19 03:08:45 +02:00 committed by GitHub
parent 7109fbee87
commit ee2c2578a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ Create DracoLoader by setting the decoder type:
// the static URL.
THREE.DRACOLoader.setDecoderPath('./path/to/decoder/');
// (Optional) Use JS decoder (defaults to WebAssembly if supported).
// (Optional) Force non-WebAssembly JS decoder (without this line, WebAssembly is the default if supported).
THREE.DRACOLoader.setDecoderConfig({type: 'js'});
// (Optional) Pre-fetch decoder source files (defaults to load on demand).