legacy-objFileLoader.js 595 B

12345678910111213141516
  1. /* eslint-disable import/no-internal-modules */
  2. import * as Loaders from "../OBJ/index.js";
  3. /**
  4. * This is the entry point for the UMD module.
  5. * The entry point for a future ESM package should be index.ts
  6. */
  7. const globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
  8. if (typeof globalObject !== "undefined") {
  9. for (const key in Loaders) {
  10. if (!globalObject.BABYLON[key]) {
  11. globalObject.BABYLON[key] = Loaders[key];
  12. }
  13. }
  14. }
  15. export * from "../OBJ/index.js";
  16. //# sourceMappingURL=legacy-objFileLoader.js.map