From 9190b7403b8795a8cb4032b823bc509feb148e5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Sun, 17 Apr 2022 19:05:00 +0200 Subject: [PATCH] README: Explain better that example turns WASM off --- javascript/example/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/example/README.md b/javascript/example/README.md index b4f44df37..a6263dc3f 100644 --- a/javascript/example/README.md +++ b/javascript/example/README.md @@ -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).