Skip to content

Commit

Permalink
Fix stupid typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bghgary committed Aug 9, 2021
1 parent 820a1f5 commit 5cc291a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Playground/index-local.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
wasmBinaryUrl: GetAbsoluteUrl("../dist/preview%20release/draco_decoder_gltf.wasm"),
fallbackUrl: GetAbsoluteUrl("../dist/preview%20release/draco_decoder_gltf.js")
};
BABYLON.GLTFValidation.Configuration = {
BABYLON.MeshoptCompression.Configuration.decoder = {
url: GetAbsoluteUrl("../dist/preview%20release/meshopt_decoder.js")
};
BABYLON.GLTFValidation.Configuration = {
Expand Down
2 changes: 1 addition & 1 deletion Viewer/tests/validation/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function init() {
wasmBinaryUrl: GetAbsoluteUrl("../../dist/preview%20release/draco_decoder_gltf.wasm"),
fallbackUrl: GetAbsoluteUrl("../../dist/preview%20release/draco_decoder_gltf.js")
};
BABYLON.MeshoptCompression.Configuration = {
BABYLON.MeshoptCompression.Configuration.decoder = {
url: GetAbsoluteUrl("../../dist/preview%20release/meshopt_decoder.js")
};
BABYLON.GLTFValidation.Configuration = {
Expand Down
2 changes: 1 addition & 1 deletion localDev/index-views.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
wasmBinaryUrl: GetAbsoluteUrl("../dist/preview%20release/draco_decoder_gltf.wasm"),
fallbackUrl: GetAbsoluteUrl("../dist/preview%20release/draco_decoder_gltf.js")
};
BABYLON.MeshOptCompression.Configuration.decoder = {
BABYLON.MeshooptCompression.Configuration.decoder = {
url: GetAbsoluteUrl("../dist/preview%20release/meshopt_decoder.js");
};
BABYLON.GLTFValidation.Configuration = {
Expand Down
2 changes: 1 addition & 1 deletion localDev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
wasmBinaryUrl: GetAbsoluteUrl("../dist/preview%20release/draco_decoder_gltf.wasm"),
fallbackUrl: GetAbsoluteUrl("../dist/preview%20release/draco_decoder_gltf.js")
};
BABYLON.MeshoptCompression.Configuration = {
BABYLON.MeshoptCompression.Configuration.decoder = {
url: GetAbsoluteUrl("../dist/preview%20release/meshopt_decoder.js")
};
BABYLON.GLTFValidation.Configuration = {
Expand Down
2 changes: 1 addition & 1 deletion sandbox/public/index-local.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
wasmBinaryUrl: GetAbsoluteUrl("../../dist/preview%20release/draco_decoder_gltf.wasm"),
fallbackUrl: GetAbsoluteUrl("../../dist/preview%20release/draco_decoder_gltf.js")
};
BABYLON.MeshoptCompression.Configuration = {
BABYLON.MeshoptCompression.Configuration.decoder = {
url: GetAbsoluteUrl("../../dist/preview%20release/meshopt_decoder.js")
};
BABYLON.GLTFValidation.Configuration = {
Expand Down
2 changes: 1 addition & 1 deletion src/Meshes/Compression/meshoptCompression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ declare var MeshoptDecoder: any;
*
* To update the configuration, use the following code:
* ```javascript
* MeshOptimizer.Configuration = {
* MeshoptCompression.Configuration = {
* decoder: {
* url: "<url to the meshopt decoder library>"
* }
Expand Down
5 changes: 3 additions & 2 deletions tests/validation/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,11 +452,12 @@ function init(_engineName, useReverseDepthBuffer) {
wasmBinaryUrl: GetAbsoluteUrl("../../dist/preview%20release/draco_decoder_gltf.wasm"),
fallbackUrl: GetAbsoluteUrl("../../dist/preview%20release/draco_decoder_gltf.js")
};
BABYLON.MeshoptCompression.Configuration.decoder = {
url: GetAbsoluteUrl("../../dist/preview%20release/meshopt_decoder.js")
};
BABYLON.GLTFValidation.Configuration = {
url: GetAbsoluteUrl("../../dist/preview%20release/gltf_validator.js")
};
BABYLON.GLTF2.Loader.Extensions.EXT_meshopt_compression.DecoderPath =
GetAbsoluteUrl("../../dist/preview%20release/meshopt_decoder.js");
BABYLON.KhronosTextureContainer2.URLConfig = {
jsDecoderModule: GetAbsoluteUrl("../../dist/preview%20release/babylon.ktx2Decoder.js"),
wasmUASTCToASTC: GetAbsoluteUrl("../../dist/preview%20release/ktx2Transcoders/uastc_astc.wasm"),
Expand Down

0 comments on commit 5cc291a

Please sign in to comment.