소스 검색

Basis: Update transcoder.

Don McCurdy 6 년 전
부모
커밋
48bb1e94ae
3개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      examples/js/libs/basis/README.md
  2. 0 0
      examples/js/libs/basis/basis_transcoder.js
  3. BIN
      examples/js/libs/basis/basis_transcoder.wasm

+ 3 - 1
examples/js/libs/basis/README.md

@@ -11,7 +11,7 @@ a wide variety of GPU texture compression formats.
 
 This folder contains two files:
 
-* `basis_transcoder.js` — JavaScript wrapper for the WebAssembly transcoder.
+* `basis_transcoder.js`<sup>1</sup> — JavaScript wrapper for the WebAssembly transcoder.
 * `basis_transcoder.wasm` — WebAssembly transcoder.
 
 Both are dependencies of `THREE.BasisTextureLoader`:
@@ -38,6 +38,8 @@ basisLoader.load( 'diffuse.basis', function ( texture ) {
 For further documentation about the Basis compressor and transcoder, refer to
 the [Basis GitHub repository](https://github.com/BinomialLLC/basis_universal).
 
+<small><sup>1</sup> The JavaScript wrapper requires one modification from the version provided in the Basis repository – the declaration on the first line is changed from `var Module` to `Module`, to accomodate lazy initialization in a Web Worker ([details](https://github.com/mrdoob/three.js/issues/16524)).
+
 ## License
 
 [Apache License 2.0](https://github.com/BinomialLLC/basis_universal/blob/master/LICENSE)

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
examples/js/libs/basis/basis_transcoder.js


BIN
examples/js/libs/basis/basis_transcoder.wasm


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.