@babylonjs/loaders 5.0.0-rc.4 → 5.0.0-rc.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. package/OBJ/index.js.map +1 -1
  2. package/OBJ/mtlFileLoader.d.ts +7 -6
  3. package/OBJ/mtlFileLoader.js +15 -14
  4. package/OBJ/mtlFileLoader.js.map +1 -1
  5. package/OBJ/objFileLoader.d.ts +11 -18
  6. package/OBJ/objFileLoader.js +19 -23
  7. package/OBJ/objFileLoader.js.map +1 -1
  8. package/OBJ/objLoadingOptions.d.ts +1 -1
  9. package/OBJ/objLoadingOptions.js.map +1 -1
  10. package/OBJ/solidParser.d.ts +6 -5
  11. package/OBJ/solidParser.js +15 -21
  12. package/OBJ/solidParser.js.map +1 -1
  13. package/STL/index.js.map +1 -1
  14. package/STL/stlFileLoader.d.ts +7 -14
  15. package/STL/stlFileLoader.js +15 -21
  16. package/STL/stlFileLoader.js.map +1 -1
  17. package/glTF/1.0/glTFBinaryExtension.d.ts +4 -4
  18. package/glTF/1.0/glTFBinaryExtension.js +4 -5
  19. package/glTF/1.0/glTFBinaryExtension.js.map +1 -1
  20. package/glTF/1.0/glTFLoader.d.ts +80 -50
  21. package/glTF/1.0/glTFLoader.js +265 -146
  22. package/glTF/1.0/glTFLoader.js.map +1 -1
  23. package/glTF/1.0/glTFLoaderInterfaces.d.ts +10 -10
  24. package/glTF/1.0/glTFLoaderInterfaces.js +3 -3
  25. package/glTF/1.0/glTFLoaderInterfaces.js.map +1 -1
  26. package/glTF/1.0/glTFLoaderUtils.d.ts +25 -25
  27. package/glTF/1.0/glTFLoaderUtils.js +70 -52
  28. package/glTF/1.0/glTFLoaderUtils.js.map +1 -1
  29. package/glTF/1.0/glTFMaterialsCommonExtension.d.ts +2 -2
  30. package/glTF/1.0/glTFMaterialsCommonExtension.js +13 -11
  31. package/glTF/1.0/glTFMaterialsCommonExtension.js.map +1 -1
  32. package/glTF/1.0/index.js.map +1 -1
  33. package/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +11 -4
  34. package/glTF/2.0/Extensions/EXT_lights_image_based.js +9 -2
  35. package/glTF/2.0/Extensions/EXT_lights_image_based.js.map +1 -1
  36. package/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +13 -5
  37. package/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +12 -4
  38. package/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js.map +1 -1
  39. package/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +10 -3
  40. package/glTF/2.0/Extensions/EXT_meshopt_compression.js +10 -3
  41. package/glTF/2.0/Extensions/EXT_meshopt_compression.js.map +1 -1
  42. package/glTF/2.0/Extensions/EXT_texture_webp.d.ts +12 -4
  43. package/glTF/2.0/Extensions/EXT_texture_webp.js +11 -3
  44. package/glTF/2.0/Extensions/EXT_texture_webp.js.map +1 -1
  45. package/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +26 -8
  46. package/glTF/2.0/Extensions/ExtrasAsMetadata.js +22 -4
  47. package/glTF/2.0/Extensions/ExtrasAsMetadata.js.map +1 -1
  48. package/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +14 -6
  49. package/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +17 -6
  50. package/glTF/2.0/Extensions/KHR_draco_mesh_compression.js.map +1 -1
  51. package/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +12 -4
  52. package/glTF/2.0/Extensions/KHR_lights_punctual.js +11 -3
  53. package/glTF/2.0/Extensions/KHR_lights_punctual.js.map +1 -1
  54. package/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +12 -4
  55. package/glTF/2.0/Extensions/KHR_materials_clearcoat.js +10 -2
  56. package/glTF/2.0/Extensions/KHR_materials_clearcoat.js.map +1 -1
  57. package/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +12 -4
  58. package/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +10 -2
  59. package/glTF/2.0/Extensions/KHR_materials_emissive_strength.js.map +1 -1
  60. package/glTF/2.0/Extensions/KHR_materials_ior.d.ts +12 -4
  61. package/glTF/2.0/Extensions/KHR_materials_ior.js +10 -2
  62. package/glTF/2.0/Extensions/KHR_materials_ior.js.map +1 -1
  63. package/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +12 -4
  64. package/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +10 -2
  65. package/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js.map +1 -1
  66. package/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +12 -4
  67. package/glTF/2.0/Extensions/KHR_materials_sheen.js +11 -3
  68. package/glTF/2.0/Extensions/KHR_materials_sheen.js.map +1 -1
  69. package/glTF/2.0/Extensions/KHR_materials_specular.d.ts +12 -4
  70. package/glTF/2.0/Extensions/KHR_materials_specular.js +11 -3
  71. package/glTF/2.0/Extensions/KHR_materials_specular.js.map +1 -1
  72. package/glTF/2.0/Extensions/KHR_materials_translucency.d.ts +12 -4
  73. package/glTF/2.0/Extensions/KHR_materials_translucency.js +11 -4
  74. package/glTF/2.0/Extensions/KHR_materials_translucency.js.map +1 -1
  75. package/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +12 -4
  76. package/glTF/2.0/Extensions/KHR_materials_transmission.js +24 -13
  77. package/glTF/2.0/Extensions/KHR_materials_transmission.js.map +1 -1
  78. package/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +12 -4
  79. package/glTF/2.0/Extensions/KHR_materials_unlit.js +10 -2
  80. package/glTF/2.0/Extensions/KHR_materials_unlit.js.map +1 -1
  81. package/glTF/2.0/Extensions/KHR_materials_variants.d.ts +17 -6
  82. package/glTF/2.0/Extensions/KHR_materials_variants.js +19 -8
  83. package/glTF/2.0/Extensions/KHR_materials_variants.js.map +1 -1
  84. package/glTF/2.0/Extensions/KHR_materials_volume.d.ts +12 -4
  85. package/glTF/2.0/Extensions/KHR_materials_volume.js +12 -5
  86. package/glTF/2.0/Extensions/KHR_materials_volume.js.map +1 -1
  87. package/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +4 -1
  88. package/glTF/2.0/Extensions/KHR_mesh_quantization.js +5 -3
  89. package/glTF/2.0/Extensions/KHR_mesh_quantization.js.map +1 -1
  90. package/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +12 -4
  91. package/glTF/2.0/Extensions/KHR_texture_basisu.js +11 -3
  92. package/glTF/2.0/Extensions/KHR_texture_basisu.js.map +1 -1
  93. package/glTF/2.0/Extensions/KHR_texture_transform.d.ts +12 -4
  94. package/glTF/2.0/Extensions/KHR_texture_transform.js +10 -2
  95. package/glTF/2.0/Extensions/KHR_texture_transform.js.map +1 -1
  96. package/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +4 -1
  97. package/glTF/2.0/Extensions/KHR_xmp_json_ld.js +4 -1
  98. package/glTF/2.0/Extensions/KHR_xmp_json_ld.js.map +1 -1
  99. package/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +23 -7
  100. package/glTF/2.0/Extensions/MSFT_audio_emitter.js +38 -14
  101. package/glTF/2.0/Extensions/MSFT_audio_emitter.js.map +1 -1
  102. package/glTF/2.0/Extensions/MSFT_lod.d.ts +45 -11
  103. package/glTF/2.0/Extensions/MSFT_lod.js +44 -8
  104. package/glTF/2.0/Extensions/MSFT_lod.js.map +1 -1
  105. package/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +2 -2
  106. package/glTF/2.0/Extensions/MSFT_minecraftMesh.js.map +1 -1
  107. package/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +2 -2
  108. package/glTF/2.0/Extensions/MSFT_sRGBFactors.js.map +1 -1
  109. package/glTF/2.0/Extensions/index.js.map +1 -1
  110. package/glTF/2.0/glTFLoader.d.ts +70 -22
  111. package/glTF/2.0/glTFLoader.js +170 -85
  112. package/glTF/2.0/glTFLoader.js.map +1 -1
  113. package/glTF/2.0/glTFLoaderExtension.d.ts +11 -11
  114. package/glTF/2.0/glTFLoaderExtension.js.map +1 -1
  115. package/glTF/2.0/glTFLoaderInterfaces.d.ts +7 -7
  116. package/glTF/2.0/glTFLoaderInterfaces.js.map +1 -1
  117. package/glTF/2.0/index.js.map +1 -1
  118. package/glTF/glTFFileLoader.d.ts +79 -27
  119. package/glTF/glTFFileLoader.js +94 -45
  120. package/glTF/glTFFileLoader.js.map +1 -1
  121. package/glTF/glTFValidation.d.ts +1 -1
  122. package/glTF/glTFValidation.js +12 -12
  123. package/glTF/glTFValidation.js.map +1 -1
  124. package/glTF/index.js.map +1 -1
  125. package/index.js.map +1 -1
  126. package/legacy/legacy-glTF.d.ts +2 -2
  127. package/legacy/legacy-glTF.js +5 -5
  128. package/legacy/legacy-glTF.js.map +1 -1
  129. package/legacy/legacy-glTF1.d.ts +1 -1
  130. package/legacy/legacy-glTF1.js +2 -2
  131. package/legacy/legacy-glTF1.js.map +1 -1
  132. package/legacy/legacy-glTF1FileLoader.js +1 -0
  133. package/legacy/legacy-glTF1FileLoader.js.map +1 -1
  134. package/legacy/legacy-glTF2.d.ts +1 -1
  135. package/legacy/legacy-glTF2.js +11 -11
  136. package/legacy/legacy-glTF2.js.map +1 -1
  137. package/legacy/legacy-glTF2FileLoader.js +1 -0
  138. package/legacy/legacy-glTF2FileLoader.js.map +1 -1
  139. package/legacy/legacy-glTFFileLoader.js +1 -0
  140. package/legacy/legacy-glTFFileLoader.js.map +1 -1
  141. package/legacy/legacy-objFileLoader.d.ts +1 -1
  142. package/legacy/legacy-objFileLoader.js +3 -3
  143. package/legacy/legacy-objFileLoader.js.map +1 -1
  144. package/legacy/legacy-stlFileLoader.d.ts +1 -1
  145. package/legacy/legacy-stlFileLoader.js +3 -3
  146. package/legacy/legacy-stlFileLoader.js.map +1 -1
  147. package/legacy/legacy.d.ts +1 -1
  148. package/legacy/legacy.js +2 -1
  149. package/legacy/legacy.js.map +1 -1
  150. package/package.json +23 -198
  151. package/readme.md +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-glTF2.js","sourceRoot":"","sources":["../../../sourceES6/loaders/src/legacy/legacy-glTF2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAE3C;;;GAGG;AACH,IAAI,YAAY,GAAG,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACrH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IAC/B,YAAa,CAAC,OAAO,GAAS,YAAa,CAAC,OAAO,IAAI,EAAE,CAAC;IAChE,IAAI,OAAO,GAAS,YAAa,CAAC,OAAO,CAAC;IAC1C,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;IACpC,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;IAClD,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC;IAExE,IAAM,IAAI,GAAG,EAAE,CAAC;IAChB,KAAK,IAAI,GAAG,IAAI,UAAU,EAAE;QACxB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,GAAS,UAAW,CAAC,GAAG,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClB;IACD,KAAK,IAAI,GAAG,IAAI,UAAU,EAAE;QACxB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAS,UAAW,CAAC,GAAG,CAAC,CAAC;QACnD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClB;IAED,KAAK,IAAI,GAAG,IAAI,KAAK,EAAE;QACnB,wBAAwB;QACxB,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE;YACxB,SAAS;SACZ;QAED,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,GAAS,KAAM,CAAC,GAAG,CAAC,CAAC;KAC1C;CACJ;AAED,OAAO,EAAE,KAAK,EAAE,CAAC","sourcesContent":["import * as Extensions from \"../glTF/2.0/Extensions/index\";\r\nimport * as Interfaces from \"../glTF/2.0/glTFLoaderInterfaces\";\r\nimport * as GLTF2 from \"../glTF/2.0/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nvar globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);\r\nif (typeof globalObject !== \"undefined\") {\r\n (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};\r\n var BABYLON = (<any>globalObject).BABYLON;\r\n BABYLON.GLTF2 = BABYLON.GLTF2 || {};\r\n BABYLON.GLTF2.Loader = BABYLON.GLTF2.Loader || {};\r\n BABYLON.GLTF2.Loader.Extensions = BABYLON.GLTF2.Loader.Extensions || {};\r\n\r\n const keys = [];\r\n for (var key in Extensions) {\r\n BABYLON.GLTF2.Loader.Extensions[key] = (<any>Extensions)[key];\r\n keys.push(key);\r\n }\r\n for (var key in Interfaces) {\r\n BABYLON.GLTF2.Loader[key] = (<any>Interfaces)[key];\r\n keys.push(key);\r\n }\r\n\r\n for (var key in GLTF2) {\r\n // Prevent Reassignment.\r\n if (keys.indexOf(key) > -1) {\r\n continue;\r\n }\r\n\r\n BABYLON.GLTF2[key] = (<any>GLTF2)[key];\r\n }\r\n}\r\n\r\nexport { GLTF2 };"]}
1
+ {"version":3,"file":"legacy-glTF2.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy-glTF2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,uCAA0C;AAChE,OAAO,KAAK,UAAU,2CAA8C;AACpE,OAAO,KAAK,KAAK,4BAA+B;AAEhD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IAC/B,YAAa,CAAC,OAAO,GAAS,YAAa,CAAC,OAAO,IAAI,EAAE,CAAC;IAChE,IAAM,SAAO,GAAS,YAAa,CAAC,OAAO,CAAC;IAC5C,SAAO,CAAC,KAAK,GAAG,SAAO,CAAC,KAAK,IAAI,EAAE,CAAC;IACpC,SAAO,CAAC,KAAK,CAAC,MAAM,GAAG,SAAO,CAAC,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;IAClD,SAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,SAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC;IAExE,IAAM,IAAI,GAAG,EAAE,CAAC;IAChB,KAAK,IAAM,GAAG,IAAI,UAAU,EAAE;QAC1B,SAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,GAAS,UAAW,CAAC,GAAG,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClB;IACD,KAAK,IAAM,GAAG,IAAI,UAAU,EAAE;QAC1B,SAAO,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAS,UAAW,CAAC,GAAG,CAAC,CAAC;QACnD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClB;IAED,KAAK,IAAM,GAAG,IAAI,KAAK,EAAE;QACrB,wBAAwB;QACxB,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE;YACxB,SAAS;SACZ;QAED,SAAO,CAAC,KAAK,CAAC,GAAG,CAAC,GAAS,KAAM,CAAC,GAAG,CAAC,CAAC;KAC1C;CACJ;AAED,OAAO,EAAE,KAAK,EAAE,CAAC","sourcesContent":["import * as Extensions from \"loaders/glTF/2.0/Extensions/index\";\r\nimport * as Interfaces from \"loaders/glTF/2.0/glTFLoaderInterfaces\";\r\nimport * as GLTF2 from \"loaders/glTF/2.0/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};\r\n const BABYLON = (<any>globalObject).BABYLON;\r\n BABYLON.GLTF2 = BABYLON.GLTF2 || {};\r\n BABYLON.GLTF2.Loader = BABYLON.GLTF2.Loader || {};\r\n BABYLON.GLTF2.Loader.Extensions = BABYLON.GLTF2.Loader.Extensions || {};\r\n\r\n const keys = [];\r\n for (const key in Extensions) {\r\n BABYLON.GLTF2.Loader.Extensions[key] = (<any>Extensions)[key];\r\n keys.push(key);\r\n }\r\n for (const key in Interfaces) {\r\n BABYLON.GLTF2.Loader[key] = (<any>Interfaces)[key];\r\n keys.push(key);\r\n }\r\n\r\n for (const key in GLTF2) {\r\n // Prevent Reassignment.\r\n if (keys.indexOf(key) > -1) {\r\n continue;\r\n }\r\n\r\n BABYLON.GLTF2[key] = (<any>GLTF2)[key];\r\n }\r\n}\r\n\r\nexport { GLTF2 };\r\n"]}
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line import/export
1
2
  export * from "./legacy-glTF.js";
2
3
  export * from "./legacy-glTF2.js";
3
4
  //# sourceMappingURL=legacy-glTF2FileLoader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-glTF2FileLoader.js","sourceRoot":"","sources":["../../../sourceES6/loaders/src/legacy/legacy-glTF2FileLoader.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC","sourcesContent":["export * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF2\";"]}
1
+ {"version":3,"file":"legacy-glTF2FileLoader.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy-glTF2FileLoader.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC","sourcesContent":["// eslint-disable-next-line import/export\r\nexport * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF2\";\r\n"]}
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line import/export
1
2
  export * from "./legacy-glTF.js";
2
3
  export * from "./legacy-glTF1.js";
3
4
  export * from "./legacy-glTF2.js";
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-glTFFileLoader.js","sourceRoot":"","sources":["../../../sourceES6/loaders/src/legacy/legacy-glTFFileLoader.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC","sourcesContent":["export * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF1\";\r\nexport * from \"./legacy-glTF2\";"]}
1
+ {"version":3,"file":"legacy-glTFFileLoader.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy-glTFFileLoader.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC","sourcesContent":["// eslint-disable-next-line import/export\r\nexport * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF1\";\r\nexport * from \"./legacy-glTF2\";\r\n"]}
@@ -1 +1 @@
1
- export * from "../OBJ/index";
1
+ export * from "./OBJ/index.js";
@@ -1,13 +1,13 @@
1
- import * as Loaders from "../OBJ/index.js";
1
+ import * as Loaders from "./OBJ/index.js";
2
2
  /**
3
3
  * This is the entry point for the UMD module.
4
4
  * The entry point for a future ESM package should be index.ts
5
5
  */
6
- var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
6
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
7
  if (typeof globalObject !== "undefined") {
8
8
  for (var key in Loaders) {
9
9
  globalObject.BABYLON[key] = Loaders[key];
10
10
  }
11
11
  }
12
- export * from "../OBJ/index.js";
12
+ export * from "./OBJ/index.js";
13
13
  //# sourceMappingURL=legacy-objFileLoader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-objFileLoader.js","sourceRoot":"","sources":["../../../sourceES6/loaders/src/legacy/legacy-objFileLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC;;;GAGG;AACH,IAAI,YAAY,GAAG,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACrH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAI,GAAG,IAAI,OAAO,EAAE;QACf,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,OAAQ,CAAC,GAAG,CAAC,CAAC;KAC1D;CACJ;AAED,cAAc,cAAc,CAAC","sourcesContent":["import * as Loaders from \"../OBJ/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nvar globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);\r\nif (typeof globalObject !== \"undefined\") {\r\n for (var key in Loaders) {\r\n (<any>globalObject).BABYLON[key] = (<any>Loaders)[key];\r\n }\r\n}\r\n\r\nexport * from \"../OBJ/index\";"]}
1
+ {"version":3,"file":"legacy-objFileLoader.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy-objFileLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,uBAA0B;AAE7C;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,OAAO,EAAE;QACjB,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,OAAQ,CAAC,GAAG,CAAC,CAAC;KAC1D;CACJ;AAED,+BAAkC","sourcesContent":["import * as Loaders from \"loaders/OBJ/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in Loaders) {\r\n (<any>globalObject).BABYLON[key] = (<any>Loaders)[key];\r\n }\r\n}\r\n\r\nexport * from \"loaders/OBJ/index\";\r\n"]}
@@ -1 +1 @@
1
- export * from "../STL/index";
1
+ export * from "./STL/index.js";
@@ -1,13 +1,13 @@
1
- import * as Loaders from "../STL/index.js";
1
+ import * as Loaders from "./STL/index.js";
2
2
  /**
3
3
  * This is the entry point for the UMD module.
4
4
  * The entry point for a future ESM package should be index.ts
5
5
  */
6
- var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
6
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
7
7
  if (typeof globalObject !== "undefined") {
8
8
  for (var key in Loaders) {
9
9
  globalObject.BABYLON[key] = Loaders[key];
10
10
  }
11
11
  }
12
- export * from "../STL/index.js";
12
+ export * from "./STL/index.js";
13
13
  //# sourceMappingURL=legacy-stlFileLoader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-stlFileLoader.js","sourceRoot":"","sources":["../../../sourceES6/loaders/src/legacy/legacy-stlFileLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC;;;GAGG;AACH,IAAI,YAAY,GAAG,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACrH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAI,GAAG,IAAI,OAAO,EAAE;QACf,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,OAAQ,CAAC,GAAG,CAAC,CAAC;KAC1D;CACJ;AAED,cAAc,cAAc,CAAC","sourcesContent":["import * as Loaders from \"../STL/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nvar globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);\r\nif (typeof globalObject !== \"undefined\") {\r\n for (var key in Loaders) {\r\n (<any>globalObject).BABYLON[key] = (<any>Loaders)[key];\r\n }\r\n}\r\n\r\nexport * from \"../STL/index\";"]}
1
+ {"version":3,"file":"legacy-stlFileLoader.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy-stlFileLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,uBAA0B;AAE7C;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,OAAO,EAAE;QACjB,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,OAAQ,CAAC,GAAG,CAAC,CAAC;KAC1D;CACJ;AAED,+BAAkC","sourcesContent":["import * as Loaders from \"loaders/STL/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in Loaders) {\r\n (<any>globalObject).BABYLON[key] = (<any>Loaders)[key];\r\n }\r\n}\r\n\r\nexport * from \"loaders/STL/index\";\r\n"]}
@@ -1,4 +1,4 @@
1
- import "../index";
1
+ export * from "./index.js";
2
2
  export * from "./legacy-glTF";
3
3
  export * from "./legacy-glTF1";
4
4
  export * from "./legacy-glTF2";
package/legacy/legacy.js CHANGED
@@ -1,4 +1,5 @@
1
- import "../index.js";
1
+ /* eslint-disable import/export */
2
+ export * from "./index.js";
2
3
  export * from "./legacy-glTF.js";
3
4
  export * from "./legacy-glTF1.js";
4
5
  export * from "./legacy-glTF2.js";
@@ -1 +1 @@
1
- {"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../sourceES6/loaders/src/legacy/legacy.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC","sourcesContent":["import \"../index\";\r\nexport * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF1\";\r\nexport * from \"./legacy-glTF2\";\r\nexport * from \"./legacy-objFileLoader\";\r\nexport * from \"./legacy-stlFileLoader\";"]}
1
+ {"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,2BAA8B;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC","sourcesContent":["/* eslint-disable import/export */\r\nexport * from \"loaders/index\";\r\nexport * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF1\";\r\nexport * from \"./legacy-glTF2\";\r\nexport * from \"./legacy-objFileLoader\";\r\nexport * from \"./legacy-stlFileLoader\";\r\n"]}
package/package.json CHANGED
@@ -1,207 +1,32 @@
1
1
  {
2
- "author": {
3
- "name": "David CATUHE"
4
- },
5
2
  "name": "@babylonjs/loaders",
6
- "description": "The Babylon.js file loaders library is an extension you can use to load different 3D file types into a Babylon scene.",
7
- "version": "5.0.0-rc.4",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/BabylonJS/Babylon.js.git"
11
- },
3
+ "version": "5.0.0-rc.7",
12
4
  "main": "index.js",
5
+ "module": "index.js",
6
+ "types": "index.d.ts",
13
7
  "files": [
14
- "glTF/1.0/glTFBinaryExtension.d.ts",
15
- "glTF/1.0/glTFBinaryExtension.js",
16
- "glTF/1.0/glTFBinaryExtension.js.map",
17
- "glTF/1.0/glTFLoader.d.ts",
18
- "glTF/1.0/glTFLoader.js",
19
- "glTF/1.0/glTFLoader.js.map",
20
- "glTF/1.0/glTFLoaderInterfaces.d.ts",
21
- "glTF/1.0/glTFLoaderInterfaces.js",
22
- "glTF/1.0/glTFLoaderInterfaces.js.map",
23
- "glTF/1.0/glTFLoaderUtils.d.ts",
24
- "glTF/1.0/glTFLoaderUtils.js",
25
- "glTF/1.0/glTFLoaderUtils.js.map",
26
- "glTF/1.0/glTFMaterialsCommonExtension.d.ts",
27
- "glTF/1.0/glTFMaterialsCommonExtension.js",
28
- "glTF/1.0/glTFMaterialsCommonExtension.js.map",
29
- "glTF/1.0/index.d.ts",
30
- "glTF/1.0/index.js",
31
- "glTF/1.0/index.js.map",
32
- "glTF/2.0/Extensions/ExtrasAsMetadata.d.ts",
33
- "glTF/2.0/Extensions/ExtrasAsMetadata.js",
34
- "glTF/2.0/Extensions/ExtrasAsMetadata.js.map",
35
- "glTF/2.0/Extensions/EXT_lights_image_based.d.ts",
36
- "glTF/2.0/Extensions/EXT_lights_image_based.js",
37
- "glTF/2.0/Extensions/EXT_lights_image_based.js.map",
38
- "glTF/2.0/Extensions/EXT_meshopt_compression.d.ts",
39
- "glTF/2.0/Extensions/EXT_meshopt_compression.js",
40
- "glTF/2.0/Extensions/EXT_meshopt_compression.js.map",
41
- "glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts",
42
- "glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js",
43
- "glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js.map",
44
- "glTF/2.0/Extensions/EXT_texture_webp.d.ts",
45
- "glTF/2.0/Extensions/EXT_texture_webp.js",
46
- "glTF/2.0/Extensions/EXT_texture_webp.js.map",
47
- "glTF/2.0/Extensions/index.d.ts",
48
- "glTF/2.0/Extensions/index.js",
49
- "glTF/2.0/Extensions/index.js.map",
50
- "glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts",
51
- "glTF/2.0/Extensions/KHR_draco_mesh_compression.js",
52
- "glTF/2.0/Extensions/KHR_draco_mesh_compression.js.map",
53
- "glTF/2.0/Extensions/KHR_lights_punctual.d.ts",
54
- "glTF/2.0/Extensions/KHR_lights_punctual.js",
55
- "glTF/2.0/Extensions/KHR_lights_punctual.js.map",
56
- "glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts",
57
- "glTF/2.0/Extensions/KHR_materials_clearcoat.js",
58
- "glTF/2.0/Extensions/KHR_materials_clearcoat.js.map",
59
- "glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts",
60
- "glTF/2.0/Extensions/KHR_materials_emissive_strength.js",
61
- "glTF/2.0/Extensions/KHR_materials_emissive_strength.js.map",
62
- "glTF/2.0/Extensions/KHR_materials_ior.d.ts",
63
- "glTF/2.0/Extensions/KHR_materials_ior.js",
64
- "glTF/2.0/Extensions/KHR_materials_ior.js.map",
65
- "glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts",
66
- "glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js",
67
- "glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js.map",
68
- "glTF/2.0/Extensions/KHR_materials_sheen.d.ts",
69
- "glTF/2.0/Extensions/KHR_materials_sheen.js",
70
- "glTF/2.0/Extensions/KHR_materials_sheen.js.map",
71
- "glTF/2.0/Extensions/KHR_materials_specular.d.ts",
72
- "glTF/2.0/Extensions/KHR_materials_specular.js",
73
- "glTF/2.0/Extensions/KHR_materials_specular.js.map",
74
- "glTF/2.0/Extensions/KHR_materials_translucency.d.ts",
75
- "glTF/2.0/Extensions/KHR_materials_translucency.js",
76
- "glTF/2.0/Extensions/KHR_materials_translucency.js.map",
77
- "glTF/2.0/Extensions/KHR_materials_transmission.d.ts",
78
- "glTF/2.0/Extensions/KHR_materials_transmission.js",
79
- "glTF/2.0/Extensions/KHR_materials_transmission.js.map",
80
- "glTF/2.0/Extensions/KHR_materials_unlit.d.ts",
81
- "glTF/2.0/Extensions/KHR_materials_unlit.js",
82
- "glTF/2.0/Extensions/KHR_materials_unlit.js.map",
83
- "glTF/2.0/Extensions/KHR_materials_variants.d.ts",
84
- "glTF/2.0/Extensions/KHR_materials_variants.js",
85
- "glTF/2.0/Extensions/KHR_materials_variants.js.map",
86
- "glTF/2.0/Extensions/KHR_materials_volume.d.ts",
87
- "glTF/2.0/Extensions/KHR_materials_volume.js",
88
- "glTF/2.0/Extensions/KHR_materials_volume.js.map",
89
- "glTF/2.0/Extensions/KHR_mesh_quantization.d.ts",
90
- "glTF/2.0/Extensions/KHR_mesh_quantization.js",
91
- "glTF/2.0/Extensions/KHR_mesh_quantization.js.map",
92
- "glTF/2.0/Extensions/KHR_texture_basisu.d.ts",
93
- "glTF/2.0/Extensions/KHR_texture_basisu.js",
94
- "glTF/2.0/Extensions/KHR_texture_basisu.js.map",
95
- "glTF/2.0/Extensions/KHR_texture_transform.d.ts",
96
- "glTF/2.0/Extensions/KHR_texture_transform.js",
97
- "glTF/2.0/Extensions/KHR_texture_transform.js.map",
98
- "glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts",
99
- "glTF/2.0/Extensions/KHR_xmp_json_ld.js",
100
- "glTF/2.0/Extensions/KHR_xmp_json_ld.js.map",
101
- "glTF/2.0/Extensions/MSFT_audio_emitter.d.ts",
102
- "glTF/2.0/Extensions/MSFT_audio_emitter.js",
103
- "glTF/2.0/Extensions/MSFT_audio_emitter.js.map",
104
- "glTF/2.0/Extensions/MSFT_lod.d.ts",
105
- "glTF/2.0/Extensions/MSFT_lod.js",
106
- "glTF/2.0/Extensions/MSFT_lod.js.map",
107
- "glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts",
108
- "glTF/2.0/Extensions/MSFT_minecraftMesh.js",
109
- "glTF/2.0/Extensions/MSFT_minecraftMesh.js.map",
110
- "glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts",
111
- "glTF/2.0/Extensions/MSFT_sRGBFactors.js",
112
- "glTF/2.0/Extensions/MSFT_sRGBFactors.js.map",
113
- "glTF/2.0/glTFLoader.d.ts",
114
- "glTF/2.0/glTFLoader.js",
115
- "glTF/2.0/glTFLoader.js.map",
116
- "glTF/2.0/glTFLoaderExtension.d.ts",
117
- "glTF/2.0/glTFLoaderExtension.js",
118
- "glTF/2.0/glTFLoaderExtension.js.map",
119
- "glTF/2.0/glTFLoaderInterfaces.d.ts",
120
- "glTF/2.0/glTFLoaderInterfaces.js",
121
- "glTF/2.0/glTFLoaderInterfaces.js.map",
122
- "glTF/2.0/index.d.ts",
123
- "glTF/2.0/index.js",
124
- "glTF/2.0/index.js.map",
125
- "glTF/glTFFileLoader.d.ts",
126
- "glTF/glTFFileLoader.js",
127
- "glTF/glTFFileLoader.js.map",
128
- "glTF/glTFValidation.d.ts",
129
- "glTF/glTFValidation.js",
130
- "glTF/glTFValidation.js.map",
131
- "glTF/index.d.ts",
132
- "glTF/index.js",
133
- "glTF/index.js.map",
134
- "index.d.ts",
135
- "index.js",
136
- "index.js.map",
137
- "legacy/legacy-glTF.d.ts",
138
- "legacy/legacy-glTF.js",
139
- "legacy/legacy-glTF.js.map",
140
- "legacy/legacy-glTF1.d.ts",
141
- "legacy/legacy-glTF1.js",
142
- "legacy/legacy-glTF1.js.map",
143
- "legacy/legacy-glTF1FileLoader.d.ts",
144
- "legacy/legacy-glTF1FileLoader.js",
145
- "legacy/legacy-glTF1FileLoader.js.map",
146
- "legacy/legacy-glTF2.d.ts",
147
- "legacy/legacy-glTF2.js",
148
- "legacy/legacy-glTF2.js.map",
149
- "legacy/legacy-glTF2FileLoader.d.ts",
150
- "legacy/legacy-glTF2FileLoader.js",
151
- "legacy/legacy-glTF2FileLoader.js.map",
152
- "legacy/legacy-glTFFileLoader.d.ts",
153
- "legacy/legacy-glTFFileLoader.js",
154
- "legacy/legacy-glTFFileLoader.js.map",
155
- "legacy/legacy-objFileLoader.d.ts",
156
- "legacy/legacy-objFileLoader.js",
157
- "legacy/legacy-objFileLoader.js.map",
158
- "legacy/legacy-stlFileLoader.d.ts",
159
- "legacy/legacy-stlFileLoader.js",
160
- "legacy/legacy-stlFileLoader.js.map",
161
- "legacy/legacy.d.ts",
162
- "legacy/legacy.js",
163
- "legacy/legacy.js.map",
164
- "OBJ/index.d.ts",
165
- "OBJ/index.js",
166
- "OBJ/index.js.map",
167
- "OBJ/mtlFileLoader.d.ts",
168
- "OBJ/mtlFileLoader.js",
169
- "OBJ/mtlFileLoader.js.map",
170
- "OBJ/objFileLoader.d.ts",
171
- "OBJ/objFileLoader.js",
172
- "OBJ/objFileLoader.js.map",
173
- "OBJ/objLoadingOptions.d.ts",
174
- "OBJ/objLoadingOptions.js",
175
- "OBJ/objLoadingOptions.js.map",
176
- "OBJ/solidParser.d.ts",
177
- "OBJ/solidParser.js",
178
- "OBJ/solidParser.js.map",
179
- "readme.md",
180
- "STL/index.d.ts",
181
- "STL/index.js",
182
- "STL/index.js.map",
183
- "STL/stlFileLoader.d.ts",
184
- "STL/stlFileLoader.js",
185
- "STL/stlFileLoader.js.map"
8
+ "**/*.js",
9
+ "**/*.d.ts",
10
+ "**/*.map",
11
+ "readme.md"
186
12
  ],
187
- "typings": "index.d.ts",
188
- "keywords": [
189
- "3D",
190
- "javascript",
191
- "html5",
192
- "webgl",
193
- "loaders"
194
- ],
195
- "license": "Apache-2.0",
13
+ "scripts": {
14
+ "build": "npm run clean && npm run compile",
15
+ "clean": "rimraf dist && rimraf *.tsbuildinfo && rimraf \"./**/*.!(md|json|build.json)\"",
16
+ "compile": "tsc -b tsconfig.build.json",
17
+ "postcompile": "build-tools -c add-js-to-es6 --path ./dist/**/*.js",
18
+ "prepublishOnly": "build-tools -c prepare-es6-build"
19
+ },
196
20
  "dependencies": {
197
- "babylonjs-gltf2interface": "5.0.0-rc.4",
198
- "@babylonjs/core": "5.0.0-rc.4",
21
+ "@babylonjs/core": "^5.0.0-rc.7",
22
+ "babylonjs-gltf2interface": "^5.0.0-rc.7",
199
23
  "tslib": "^2.3.1"
200
24
  },
201
- "engines": {
202
- "node": "*"
25
+ "devDependencies": {
26
+ "@dev/build-tools": "^1.0.0",
27
+ "@lts/loaders": "^1.0.0",
28
+ "rimraf": "^3.0.2",
29
+ "typescript": "^4.4.4"
203
30
  },
204
- "module": "index.js",
205
- "esnext": "index.js",
206
- "type": "module"
207
- }
31
+ "sideEffects": true
32
+ }
package/readme.md CHANGED
@@ -13,7 +13,7 @@ npm install --save-dev @babylonjs/core @babylonjs/loaders
13
13
 
14
14
  # How to use
15
15
 
16
- Afterwards it can be imported to the your project using:
16
+ Afterwards it can be imported to your project using:
17
17
 
18
18
  ```
19
19
  import "@babylonjs/loaders/glTF";
@@ -21,4 +21,4 @@ import "@babylonjs/loaders/glTF";
21
21
 
22
22
  This will extend Babylon's loader plugins to allow the load of gltf and glb files.
23
23
 
24
- For more information you can have a look at our [our ES6 dedicated documentation](https://doc.babylonjs.com/features/es6_support).
24
+ For more information you can have a look at our [ES6 dedicated documentation](https://doc.babylonjs.com/features/es6_support).