legacy-normalMap.ts 505 B

1234567891011121314
  1. import * as proceduralTexture from "../src/normalMap";
  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 key in proceduralTexture) {
  9. (<any>globalObject).BABYLON[key] = (<any>proceduralTexture)[key];
  10. }
  11. }
  12. export * from "../src/normalMap";