babylonjs-loaders 7.33.0 → 7.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babylon.glTF1FileLoader.js +3 -3
- package/babylon.glTF1FileLoader.min.js +1 -1
- package/babylon.glTF1FileLoader.min.js.map +1 -1
- package/babylon.glTF2FileLoader.js +3 -3
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +3 -3
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +4 -0
- package/babylonjs.loaders.js +3 -3
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +8 -0
- package/package.json +3 -3
package/babylonjs.loaders.d.ts
CHANGED
|
@@ -47,9 +47,11 @@ declare module BABYLON {
|
|
|
47
47
|
readonly extensions: {
|
|
48
48
|
readonly ".gltf": {
|
|
49
49
|
readonly isBinary: false;
|
|
50
|
+
readonly mimeType: "model/gltf+json";
|
|
50
51
|
};
|
|
51
52
|
readonly ".glb": {
|
|
52
53
|
readonly isBinary: true;
|
|
54
|
+
readonly mimeType: "model/gltf-binary";
|
|
53
55
|
};
|
|
54
56
|
};
|
|
55
57
|
readonly canDirectLoad: (data: string) => boolean;
|
|
@@ -455,9 +457,11 @@ declare module BABYLON {
|
|
|
455
457
|
readonly extensions: {
|
|
456
458
|
readonly ".gltf": {
|
|
457
459
|
readonly isBinary: false;
|
|
460
|
+
readonly mimeType: "model/gltf+json";
|
|
458
461
|
};
|
|
459
462
|
readonly ".glb": {
|
|
460
463
|
readonly isBinary: true;
|
|
464
|
+
readonly mimeType: "model/gltf-binary";
|
|
461
465
|
};
|
|
462
466
|
};
|
|
463
467
|
/**
|