mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-11 20:59:01 +08:00
Make README comment about disabling WASM even more excruciatingly clear. (#843)
This commit is contained in:
parent
7109fbee87
commit
ee2c2578a1
@ -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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user