legacy-objSerializer.ts 496 B

1234567891011121314
  1. import * as Serializers from "../src/OBJ";
  2. /**
  3. * This is the entry point for the UMD module.
  4. * The entry point for a future ESM package should be index.ts
  5. */
  6. var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
  7. if (typeof globalObject !== "undefined") {
  8. for (var serializer in Serializers) {
  9. (<any>globalObject).BABYLON[serializer] = (<any>Serializers)[serializer];
  10. }
  11. }
  12. export * from "../src/OBJ";