Sfoglia il codice sorgente

Merge pull request #7178 from jasonayre/master

expose BasisTools class for configuring JSModuleURL and WasmModuleURL
David Catuhe 5 anni fa
parent
commit
ea3c6553d7
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 1 0
      dist/preview release/what's new.md
  2. 2 1
      src/Misc/index.ts

+ 1 - 0
dist/preview release/what's new.md

@@ -46,6 +46,7 @@
 - Added `RawTexture2DArray` to enable use of WebGL2 2D array textures by custom shaders ([atg](https://github.com/atg))
 - Added multiview support for the shader material (and the line-mesh class) ([RaananW](https://github.com/RaananW/))
 - Added various (interpolation) functions to Path3D, also `alignTangentsWithPath`, `slice`, `getClosestPositionTo` ([Poolminer](https://github.com/Poolminer/))
+- Allow setting of `BABYLON.Basis.JSModuleURL` and `BABYLON.Basis.WasmModuleURL`, for hosting the Basis transcoder locally ([JasonAyre])(https://github.com/jasonyre))
 - PNG support for browsers not supporting SVG ([RaananW](https://github.com/RaananW/))
 
 ### Engine

+ 2 - 1
src/Misc/index.ts

@@ -1,5 +1,6 @@
 export * from "./andOrNotEvaluator";
 export * from "./assetsManager";
+export * from "./basis";
 export * from "./dds";
 export * from "./decorators";
 export * from "./deferred";
@@ -43,4 +44,4 @@ export * from "./interfaces/screenshotSize";
 export * from "./canvasGenerator";
 export * from "./fileTools";
 export * from "./stringTools";
-export * from "./dataReader";
+export * from "./dataReader";