@babylonjs/loaders 5.0.0-rc.12 → 5.0.0-rc.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/OBJ/objFileLoader.js +2 -2
  2. package/STL/index.js +1 -1
  3. package/glTF/1.0/glTFBinaryExtension.js +3 -3
  4. package/glTF/1.0/glTFLoader.js +3 -3
  5. package/glTF/1.0/glTFLoaderUtils.js +1 -1
  6. package/glTF/1.0/glTFMaterialsCommonExtension.js +1 -1
  7. package/glTF/1.0/index.js +5 -5
  8. package/glTF/2.0/Extensions/EXT_lights_image_based.js +1 -1
  9. package/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +1 -1
  10. package/glTF/2.0/Extensions/EXT_meshopt_compression.js +1 -1
  11. package/glTF/2.0/Extensions/EXT_texture_webp.js +1 -1
  12. package/glTF/2.0/Extensions/ExtrasAsMetadata.js +1 -1
  13. package/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +1 -1
  14. package/glTF/2.0/Extensions/KHR_lights_punctual.js +1 -1
  15. package/glTF/2.0/Extensions/KHR_materials_clearcoat.js +1 -1
  16. package/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +1 -1
  17. package/glTF/2.0/Extensions/KHR_materials_ior.js +1 -1
  18. package/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +1 -1
  19. package/glTF/2.0/Extensions/KHR_materials_sheen.js +1 -1
  20. package/glTF/2.0/Extensions/KHR_materials_specular.js +1 -1
  21. package/glTF/2.0/Extensions/KHR_materials_translucency.js +1 -1
  22. package/glTF/2.0/Extensions/KHR_materials_transmission.js +1 -1
  23. package/glTF/2.0/Extensions/KHR_materials_unlit.js +1 -1
  24. package/glTF/2.0/Extensions/KHR_materials_variants.js +1 -1
  25. package/glTF/2.0/Extensions/KHR_materials_volume.js +1 -1
  26. package/glTF/2.0/Extensions/KHR_mesh_quantization.js +1 -1
  27. package/glTF/2.0/Extensions/KHR_texture_basisu.js +1 -1
  28. package/glTF/2.0/Extensions/KHR_texture_transform.js +1 -1
  29. package/glTF/2.0/Extensions/KHR_xmp_json_ld.js +1 -1
  30. package/glTF/2.0/Extensions/MSFT_audio_emitter.js +1 -1
  31. package/glTF/2.0/Extensions/MSFT_lod.js +1 -1
  32. package/glTF/2.0/Extensions/MSFT_minecraftMesh.js +1 -1
  33. package/glTF/2.0/Extensions/MSFT_sRGBFactors.js +1 -1
  34. package/glTF/2.0/Extensions/index.js +26 -26
  35. package/glTF/2.0/glTFLoader.js +1 -1
  36. package/glTF/2.0/index.js +4 -4
  37. package/glTF/glTFFileLoader.js +1 -1
  38. package/glTF/index.js +4 -4
  39. package/index.js +3 -3
  40. package/legacy/legacy-glTF.js +4 -4
  41. package/legacy/legacy-glTF1.js +1 -1
  42. package/legacy/legacy-glTF1FileLoader.js +2 -2
  43. package/legacy/legacy-glTF2.js +3 -3
  44. package/legacy/legacy-glTF2FileLoader.js +2 -2
  45. package/legacy/legacy-glTFFileLoader.js +3 -3
  46. package/legacy/legacy-objFileLoader.js +2 -2
  47. package/legacy/legacy-stlFileLoader.js +2 -2
  48. package/legacy/legacy.js +6 -6
  49. package/package.json +4 -4
@@ -2,8 +2,8 @@ import { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
2
2
  import { Tools } from "@babylonjs/core/Misc/tools.js";
3
3
  import { SceneLoader } from "@babylonjs/core/Loading/sceneLoader.js";
4
4
  import { AssetContainer } from "@babylonjs/core/assetContainer.js";
5
- import { MTLFileLoader } from "./mtlFileLoader";
6
- import { SolidParser } from "./solidParser";
5
+ import { MTLFileLoader } from "./mtlFileLoader.js";
6
+ import { SolidParser } from "./solidParser.js";
7
7
  /**
8
8
  * OBJ file type loader.
9
9
  * This is a babylon scene loader plugin.
package/STL/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./stlFileLoader";
1
+ export * from "./stlFileLoader.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
- import { GLTFLoaderExtension, GLTFLoader, GLTFLoaderBase } from "./glTFLoader";
3
- import { GLTFUtils } from "./glTFLoaderUtils";
4
- import { EComponentType } from "./glTFLoaderInterfaces";
2
+ import { GLTFLoaderExtension, GLTFLoader, GLTFLoaderBase } from "./glTFLoader.js";
3
+ import { GLTFUtils } from "./glTFLoaderUtils.js";
4
+ import { EComponentType } from "./glTFLoaderInterfaces.js";
5
5
  var BinaryExtensionBufferName = "binary_glTF";
6
6
  /** @hidden */
7
7
  var GLTFBinaryExtension = /** @class */ (function (_super) {
@@ -1,4 +1,4 @@
1
- import { EParameterType, ETextureFilterType, ECullingType, EBlendingFunction, EShaderType } from "./glTFLoaderInterfaces";
1
+ import { EParameterType, ETextureFilterType, ECullingType, EBlendingFunction, EShaderType } from "./glTFLoaderInterfaces.js";
2
2
  import { Quaternion, Vector3, Matrix } from "@babylonjs/core/Maths/math.vector.js";
3
3
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
4
4
  import { Tools } from "@babylonjs/core/Misc/tools.js";
@@ -23,8 +23,8 @@ import { HemisphericLight } from "@babylonjs/core/Lights/hemisphericLight.js";
23
23
  import { DirectionalLight } from "@babylonjs/core/Lights/directionalLight.js";
24
24
  import { PointLight } from "@babylonjs/core/Lights/pointLight.js";
25
25
  import { SpotLight } from "@babylonjs/core/Lights/spotLight.js";
26
- import { GLTFUtils } from "./glTFLoaderUtils";
27
- import { GLTFFileLoader } from "../glTFFileLoader";
26
+ import { GLTFUtils } from "./glTFLoaderUtils.js";
27
+ import { GLTFFileLoader } from "../glTFFileLoader.js";
28
28
  import { Constants } from "@babylonjs/core/Engines/constants.js";
29
29
  /**
30
30
  * Tokenizer. Used for shaders compatibility
@@ -1,4 +1,4 @@
1
- import { EParameterType, ETextureWrapMode, ETextureFilterType, EComponentType } from "./glTFLoaderInterfaces";
1
+ import { EParameterType, ETextureWrapMode, ETextureFilterType, EComponentType } from "./glTFLoaderInterfaces.js";
2
2
  import { Vector2, Vector3, Vector4, Matrix } from "@babylonjs/core/Maths/math.vector.js";
3
3
  import { Color4 } from "@babylonjs/core/Maths/math.color.js";
4
4
  import { Effect } from "@babylonjs/core/Materials/effect.js";
@@ -1,5 +1,5 @@
1
1
  import { __extends } from "tslib";
2
- import { GLTFLoaderExtension, GLTFLoaderBase, GLTFLoader } from "./glTFLoader";
2
+ import { GLTFLoaderExtension, GLTFLoaderBase, GLTFLoader } from "./glTFLoader.js";
3
3
  import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
4
4
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
5
5
  import { Tools } from "@babylonjs/core/Misc/tools.js";
package/glTF/1.0/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./glTFBinaryExtension";
2
- export * from "./glTFLoader";
3
- export * from "./glTFLoaderInterfaces";
4
- export * from "./glTFLoaderUtils";
5
- export * from "./glTFMaterialsCommonExtension";
1
+ export * from "./glTFBinaryExtension.js";
2
+ export * from "./glTFLoader.js";
3
+ export * from "./glTFLoaderInterfaces.js";
4
+ export * from "./glTFLoaderUtils.js";
5
+ export * from "./glTFMaterialsCommonExtension.js";
6
6
  //# sourceMappingURL=index.js.map
@@ -2,7 +2,7 @@ import { Scalar } from "@babylonjs/core/Maths/math.scalar.js";
2
2
  import { SphericalHarmonics, SphericalPolynomial } from "@babylonjs/core/Maths/sphericalPolynomial.js";
3
3
  import { Quaternion, Matrix } from "@babylonjs/core/Maths/math.vector.js";
4
4
  import { RawCubeTexture } from "@babylonjs/core/Materials/Textures/rawCubeTexture.js";
5
- import { GLTFLoader, ArrayItem } from "../glTFLoader";
5
+ import { GLTFLoader, ArrayItem } from "../glTFLoader.js";
6
6
  var NAME = "EXT_lights_image_based";
7
7
  /**
8
8
  * [Specification](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Vendor/EXT_lights_image_based/README.md)
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/naming-convention */
2
2
  import { Vector3, Quaternion, Matrix, TmpVectors } from "@babylonjs/core/Maths/math.vector.js";
3
- import { GLTFLoader, ArrayItem } from "../glTFLoader";
3
+ import { GLTFLoader, ArrayItem } from "../glTFLoader.js";
4
4
  import "@babylonjs/core/Meshes/thinInstanceMesh.js";
5
5
  var NAME = "EXT_mesh_gpu_instancing";
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { ArrayItem, GLTFLoader } from "../glTFLoader";
1
+ import { ArrayItem, GLTFLoader } from "../glTFLoader.js";
2
2
  import { MeshoptCompression } from "@babylonjs/core/Meshes/Compression/meshoptCompression.js";
3
3
  var NAME = "EXT_meshopt_compression";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { GLTFLoader, ArrayItem } from "../glTFLoader";
1
+ import { GLTFLoader, ArrayItem } from "../glTFLoader.js";
2
2
  var NAME = "EXT_texture_webp";
3
3
  /**
4
4
  * [Specification](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Vendor/EXT_texture_webp/)
@@ -1,4 +1,4 @@
1
- import { GLTFLoader } from "../glTFLoader";
1
+ import { GLTFLoader } from "../glTFLoader.js";
2
2
  var NAME = "ExtrasAsMetadata";
3
3
  /**
4
4
  * Store glTF extras (if present) in BJS objects' metadata
@@ -2,7 +2,7 @@
2
2
  import { DracoCompression } from "@babylonjs/core/Meshes/Compression/dracoCompression.js";
3
3
  import { VertexBuffer } from "@babylonjs/core/Buffers/buffer.js";
4
4
  import { Geometry } from "@babylonjs/core/Meshes/geometry.js";
5
- import { GLTFLoader, ArrayItem } from "../glTFLoader";
5
+ import { GLTFLoader, ArrayItem } from "../glTFLoader.js";
6
6
  var NAME = "KHR_draco_mesh_compression";
7
7
  /**
8
8
  * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_draco_mesh_compression)
@@ -4,7 +4,7 @@ import { DirectionalLight } from "@babylonjs/core/Lights/directionalLight.js";
4
4
  import { PointLight } from "@babylonjs/core/Lights/pointLight.js";
5
5
  import { SpotLight } from "@babylonjs/core/Lights/spotLight.js";
6
6
  import { Light } from "@babylonjs/core/Lights/light.js";
7
- import { GLTFLoader, ArrayItem } from "../glTFLoader";
7
+ import { GLTFLoader, ArrayItem } from "../glTFLoader.js";
8
8
  var NAME = "KHR_lights_punctual";
9
9
  /**
10
10
  * [Specification](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_lights_punctual)
@@ -1,5 +1,5 @@
1
1
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  var NAME = "KHR_materials_clearcoat";
4
4
  /**
5
5
  * [Specification](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_materials_clearcoat/README.md)
@@ -1,5 +1,5 @@
1
1
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  var NAME = "KHR_materials_emissive_strength";
4
4
  /**
5
5
  * [Experimental Spec](https://github.com/KhronosGroup/glTF/pull/1994)
@@ -1,5 +1,5 @@
1
1
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  var NAME = "KHR_materials_ior";
4
4
  /**
5
5
  * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_ior)
@@ -1,6 +1,6 @@
1
1
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
2
2
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
3
- import { GLTFLoader } from "../glTFLoader";
3
+ import { GLTFLoader } from "../glTFLoader.js";
4
4
  var NAME = "KHR_materials_pbrSpecularGlossiness";
5
5
  /**
6
6
  * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_pbrSpecularGlossiness)
@@ -1,5 +1,5 @@
1
1
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
4
4
  var NAME = "KHR_materials_sheen";
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
4
4
  var NAME = "KHR_materials_specular";
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  var NAME = "KHR_materials_translucency";
4
4
  /**
5
5
  * [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
@@ -1,6 +1,6 @@
1
1
  import { __assign } from "tslib";
2
2
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
3
- import { GLTFLoader } from "../glTFLoader";
3
+ import { GLTFLoader } from "../glTFLoader.js";
4
4
  import { RenderTargetTexture } from "@babylonjs/core/Materials/Textures/renderTargetTexture.js";
5
5
  import { Observable } from "@babylonjs/core/Misc/observable.js";
6
6
  import { Constants } from "@babylonjs/core/Engines/constants.js";
@@ -1,6 +1,6 @@
1
1
  import { Color3 } from "@babylonjs/core/Maths/math.color.js";
2
2
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
3
- import { GLTFLoader } from "../glTFLoader";
3
+ import { GLTFLoader } from "../glTFLoader.js";
4
4
  var NAME = "KHR_materials_unlit";
5
5
  /**
6
6
  * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_unlit)
@@ -1,4 +1,4 @@
1
- import { GLTFLoader, ArrayItem } from "../glTFLoader";
1
+ import { GLTFLoader, ArrayItem } from "../glTFLoader.js";
2
2
  import { Mesh } from "@babylonjs/core/Meshes/mesh.js";
3
3
  var NAME = "KHR_materials_variants";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  var NAME = "KHR_materials_volume";
4
4
  /**
5
5
  * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_volume)
@@ -1,4 +1,4 @@
1
- import { GLTFLoader } from "../glTFLoader";
1
+ import { GLTFLoader } from "../glTFLoader.js";
2
2
  var NAME = "KHR_mesh_quantization";
3
3
  /**
4
4
  * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_mesh_quantization)
@@ -1,4 +1,4 @@
1
- import { GLTFLoader, ArrayItem } from "../glTFLoader";
1
+ import { GLTFLoader, ArrayItem } from "../glTFLoader.js";
2
2
  var NAME = "KHR_texture_basisu";
3
3
  /**
4
4
  * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_texture_basisu)
@@ -1,5 +1,5 @@
1
1
  import { Texture } from "@babylonjs/core/Materials/Textures/texture.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  var NAME = "KHR_texture_transform";
4
4
  /**
5
5
  * [Specification](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_texture_transform)
@@ -1,4 +1,4 @@
1
- import { GLTFLoader } from "../glTFLoader";
1
+ import { GLTFLoader } from "../glTFLoader.js";
2
2
  var NAME = "KHR_xmp_json_ld";
3
3
  /**
4
4
  * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_xmp_json_ld)
@@ -3,7 +3,7 @@ import { Tools } from "@babylonjs/core/Misc/tools.js";
3
3
  import { AnimationEvent } from "@babylonjs/core/Animations/animationEvent.js";
4
4
  import { Sound } from "@babylonjs/core/Audio/sound.js";
5
5
  import { WeightedSound } from "@babylonjs/core/Audio/weightedsound.js";
6
- import { GLTFLoader, ArrayItem } from "../glTFLoader";
6
+ import { GLTFLoader, ArrayItem } from "../glTFLoader.js";
7
7
  var NAME = "MSFT_audio_emitter";
8
8
  /**
9
9
  * [Specification](https://github.com/najadojo/glTF/tree/MSFT_audio_emitter/extensions/2.0/Vendor/MSFT_audio_emitter)
@@ -1,6 +1,6 @@
1
1
  import { Observable } from "@babylonjs/core/Misc/observable.js";
2
2
  import { Deferred } from "@babylonjs/core/Misc/deferred.js";
3
- import { GLTFLoader, ArrayItem } from "../glTFLoader";
3
+ import { GLTFLoader, ArrayItem } from "../glTFLoader.js";
4
4
  var NAME = "MSFT_lod";
5
5
  /**
6
6
  * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/MSFT_lod)
@@ -1,5 +1,5 @@
1
1
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  var NAME = "MSFT_minecraftMesh";
4
4
  /** @hidden */
5
5
  var MSFT_minecraftMesh = /** @class */ (function () {
@@ -1,5 +1,5 @@
1
1
  import { PBRMaterial } from "@babylonjs/core/Materials/PBR/pbrMaterial.js";
2
- import { GLTFLoader } from "../glTFLoader";
2
+ import { GLTFLoader } from "../glTFLoader.js";
3
3
  var NAME = "MSFT_sRGBFactors";
4
4
  /** @hidden */
5
5
  var MSFT_sRGBFactors = /** @class */ (function () {
@@ -1,27 +1,27 @@
1
- export * from "./EXT_lights_image_based";
2
- export * from "./EXT_mesh_gpu_instancing";
3
- export * from "./EXT_meshopt_compression";
4
- export * from "./EXT_texture_webp";
5
- export * from "./KHR_draco_mesh_compression";
6
- export * from "./KHR_lights_punctual";
7
- export * from "./KHR_materials_pbrSpecularGlossiness";
8
- export * from "./KHR_materials_unlit";
9
- export * from "./KHR_materials_clearcoat";
10
- export * from "./KHR_materials_emissive_strength";
11
- export * from "./KHR_materials_sheen";
12
- export * from "./KHR_materials_specular";
13
- export * from "./KHR_materials_ior";
14
- export * from "./KHR_materials_variants";
15
- export * from "./KHR_materials_transmission";
16
- export * from "./KHR_materials_translucency";
17
- export * from "./KHR_materials_volume";
18
- export * from "./KHR_mesh_quantization";
19
- export * from "./KHR_texture_basisu";
20
- export * from "./KHR_texture_transform";
21
- export * from "./KHR_xmp_json_ld";
22
- export * from "./MSFT_audio_emitter";
23
- export * from "./MSFT_lod";
24
- export * from "./MSFT_minecraftMesh";
25
- export * from "./MSFT_sRGBFactors";
26
- export * from "./ExtrasAsMetadata";
1
+ export * from "./EXT_lights_image_based.js";
2
+ export * from "./EXT_mesh_gpu_instancing.js";
3
+ export * from "./EXT_meshopt_compression.js";
4
+ export * from "./EXT_texture_webp.js";
5
+ export * from "./KHR_draco_mesh_compression.js";
6
+ export * from "./KHR_lights_punctual.js";
7
+ export * from "./KHR_materials_pbrSpecularGlossiness.js";
8
+ export * from "./KHR_materials_unlit.js";
9
+ export * from "./KHR_materials_clearcoat.js";
10
+ export * from "./KHR_materials_emissive_strength.js";
11
+ export * from "./KHR_materials_sheen.js";
12
+ export * from "./KHR_materials_specular.js";
13
+ export * from "./KHR_materials_ior.js";
14
+ export * from "./KHR_materials_variants.js";
15
+ export * from "./KHR_materials_transmission.js";
16
+ export * from "./KHR_materials_translucency.js";
17
+ export * from "./KHR_materials_volume.js";
18
+ export * from "./KHR_mesh_quantization.js";
19
+ export * from "./KHR_texture_basisu.js";
20
+ export * from "./KHR_texture_transform.js";
21
+ export * from "./KHR_xmp_json_ld.js";
22
+ export * from "./MSFT_audio_emitter.js";
23
+ export * from "./MSFT_lod.js";
24
+ export * from "./MSFT_minecraftMesh.js";
25
+ export * from "./MSFT_sRGBFactors.js";
26
+ export * from "./ExtrasAsMetadata.js";
27
27
  //# sourceMappingURL=index.js.map
@@ -17,7 +17,7 @@ import { Geometry } from "@babylonjs/core/Meshes/geometry.js";
17
17
  import { Mesh } from "@babylonjs/core/Meshes/mesh.js";
18
18
  import { MorphTarget } from "@babylonjs/core/Morph/morphTarget.js";
19
19
  import { MorphTargetManager } from "@babylonjs/core/Morph/morphTargetManager.js";
20
- import { GLTFFileLoader, GLTFLoaderState, GLTFLoaderCoordinateSystemMode, GLTFLoaderAnimationStartMode } from "../glTFFileLoader";
20
+ import { GLTFFileLoader, GLTFLoaderState, GLTFLoaderCoordinateSystemMode, GLTFLoaderAnimationStartMode } from "../glTFFileLoader.js";
21
21
  import { AnimationKeyInterpolation } from "@babylonjs/core/Animations/animationKey.js";
22
22
  import { DecodeBase64UrlToBinary, IsBase64DataUrl, LoadFileError } from "@babylonjs/core/Misc/fileTools.js";
23
23
  import { Logger } from "@babylonjs/core/Misc/logger.js";
package/glTF/2.0/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- export * from "./glTFLoader";
3
- export * from "./glTFLoaderExtension";
4
- export * from "./glTFLoaderInterfaces";
5
- export * from "./Extensions/index";
2
+ export * from "./glTFLoader.js";
3
+ export * from "./glTFLoaderExtension.js";
4
+ export * from "./glTFLoaderInterfaces.js";
5
+ export * from "./Extensions/index.js";
6
6
  //# sourceMappingURL=index.js.map
@@ -4,7 +4,7 @@ import { SceneLoader } from "@babylonjs/core/Loading/sceneLoader.js";
4
4
  import { AssetContainer } from "@babylonjs/core/assetContainer.js";
5
5
  import { Logger } from "@babylonjs/core/Misc/logger.js";
6
6
  import { DataReader } from "@babylonjs/core/Misc/dataReader.js";
7
- import { GLTFValidation } from "./glTFValidation";
7
+ import { GLTFValidation } from "./glTFValidation.js";
8
8
  import { DecodeBase64UrlToBinary } from "@babylonjs/core/Misc/fileTools.js";
9
9
  import { StringTools } from "@babylonjs/core/Misc/stringTools.js";
10
10
  import { RuntimeError, ErrorCodes } from "@babylonjs/core/Misc/error.js";
package/glTF/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- export * from "./glTFFileLoader";
3
- export * from "./glTFValidation";
4
- import * as GLTF1 from "./1.0/index";
5
- import * as GLTF2 from "./2.0/index";
2
+ export * from "./glTFFileLoader.js";
3
+ export * from "./glTFValidation.js";
4
+ import * as GLTF1 from "./1.0/index.js";
5
+ import * as GLTF2 from "./2.0/index.js";
6
6
  export { GLTF1, GLTF2 };
7
7
  //# sourceMappingURL=index.js.map
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- export * from "./glTF/index";
3
- export * from "./OBJ/index";
4
- export * from "./STL/index";
2
+ export * from "./glTF/index.js";
3
+ export * from "./OBJ/index.js";
4
+ export * from "./STL/index.js";
5
5
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import * as FileLoader from "../glTF/glTFFileLoader";
2
- import * as Validation from "../glTF/glTFValidation";
1
+ import * as FileLoader from "../glTF/glTFFileLoader.js";
2
+ import * as Validation from "../glTF/glTFValidation.js";
3
3
  /**
4
4
  * This is the entry point for the UMD module.
5
5
  * The entry point for a future ESM package should be index.ts
@@ -14,6 +14,6 @@ if (typeof globalObject !== "undefined") {
14
14
  globalObject.BABYLON[key] = Validation[key];
15
15
  }
16
16
  }
17
- export * from "../glTF/glTFFileLoader";
18
- export * from "../glTF/glTFValidation";
17
+ export * from "../glTF/glTFFileLoader.js";
18
+ export * from "../glTF/glTFValidation.js";
19
19
  //# sourceMappingURL=legacy-glTF.js.map
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- import * as GLTF1 from "../glTF/1.0/index";
2
+ import * as GLTF1 from "../glTF/1.0/index.js";
3
3
  /**
4
4
  * This is the entry point for the UMD module.
5
5
  * The entry point for a future ESM package should be index.ts
@@ -1,4 +1,4 @@
1
1
  // eslint-disable-next-line import/export
2
- export * from "./legacy-glTF";
3
- export * from "./legacy-glTF1";
2
+ export * from "./legacy-glTF.js";
3
+ export * from "./legacy-glTF1.js";
4
4
  //# sourceMappingURL=legacy-glTF1FileLoader.js.map
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- import * as Extensions from "../glTF/2.0/Extensions/index";
3
- import * as Interfaces from "../glTF/2.0/glTFLoaderInterfaces";
4
- import * as GLTF2 from "../glTF/2.0/index";
2
+ import * as Extensions from "../glTF/2.0/Extensions/index.js";
3
+ import * as Interfaces from "../glTF/2.0/glTFLoaderInterfaces.js";
4
+ import * as GLTF2 from "../glTF/2.0/index.js";
5
5
  /**
6
6
  * This is the entry point for the UMD module.
7
7
  * The entry point for a future ESM package should be index.ts
@@ -1,4 +1,4 @@
1
1
  // eslint-disable-next-line import/export
2
- export * from "./legacy-glTF";
3
- export * from "./legacy-glTF2";
2
+ export * from "./legacy-glTF.js";
3
+ export * from "./legacy-glTF2.js";
4
4
  //# sourceMappingURL=legacy-glTF2FileLoader.js.map
@@ -1,5 +1,5 @@
1
1
  // eslint-disable-next-line import/export
2
- export * from "./legacy-glTF";
3
- export * from "./legacy-glTF1";
4
- export * from "./legacy-glTF2";
2
+ export * from "./legacy-glTF.js";
3
+ export * from "./legacy-glTF1.js";
4
+ export * from "./legacy-glTF2.js";
5
5
  //# sourceMappingURL=legacy-glTFFileLoader.js.map
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- import * as Loaders from "../OBJ/index";
2
+ import * as Loaders from "../OBJ/index.js";
3
3
  /**
4
4
  * This is the entry point for the UMD module.
5
5
  * The entry point for a future ESM package should be index.ts
@@ -10,5 +10,5 @@ if (typeof globalObject !== "undefined") {
10
10
  globalObject.BABYLON[key] = Loaders[key];
11
11
  }
12
12
  }
13
- export * from "../OBJ/index";
13
+ export * from "../OBJ/index.js";
14
14
  //# sourceMappingURL=legacy-objFileLoader.js.map
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/no-internal-modules */
2
- import * as Loaders from "../STL/index";
2
+ import * as Loaders from "../STL/index.js";
3
3
  /**
4
4
  * This is the entry point for the UMD module.
5
5
  * The entry point for a future ESM package should be index.ts
@@ -10,5 +10,5 @@ if (typeof globalObject !== "undefined") {
10
10
  globalObject.BABYLON[key] = Loaders[key];
11
11
  }
12
12
  }
13
- export * from "../STL/index";
13
+ export * from "../STL/index.js";
14
14
  //# sourceMappingURL=legacy-stlFileLoader.js.map
package/legacy/legacy.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /* eslint-disable import/export */
2
2
  /* eslint-disable import/no-internal-modules */
3
- export * from "../index";
4
- export * from "./legacy-glTF";
5
- export * from "./legacy-glTF1";
6
- export * from "./legacy-glTF2";
7
- export * from "./legacy-objFileLoader";
8
- export * from "./legacy-stlFileLoader";
3
+ export * from "../index.js";
4
+ export * from "./legacy-glTF.js";
5
+ export * from "./legacy-glTF1.js";
6
+ export * from "./legacy-glTF2.js";
7
+ export * from "./legacy-objFileLoader.js";
8
+ export * from "./legacy-stlFileLoader.js";
9
9
  //# sourceMappingURL=legacy.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/loaders",
3
- "version": "5.0.0-rc.12",
3
+ "version": "5.0.0-rc.13",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "types": "index.d.ts",
@@ -15,12 +15,12 @@
15
15
  "build": "npm run clean && npm run compile",
16
16
  "clean": "rimraf dist && rimraf *.tsbuildinfo && rimraf \"./**/*.!(md|json|build.json)\"",
17
17
  "compile": "tsc -b tsconfig.build.json",
18
- "postcompile": "build-tools -c add-js-to-es6 --path ./dist/**/*.js",
18
+ "postcompile": "build-tools -c add-js-to-es6",
19
19
  "prepublishOnly": "build-tools -c prepare-es6-build"
20
20
  },
21
21
  "dependencies": {
22
- "@babylonjs/core": "^5.0.0-rc.12",
23
- "babylonjs-gltf2interface": "^5.0.0-rc.12",
22
+ "@babylonjs/core": "^5.0.0-rc.13",
23
+ "babylonjs-gltf2interface": "^5.0.0-rc.13",
24
24
  "tslib": "^2.3.1"
25
25
  },
26
26
  "devDependencies": {