|
@@ -1,4 +1,5 @@
|
|
|
import * as Extensions from "../src/glTF/2.0/Extensions";
|
|
|
+import * as Interfaces from "../src/glTF/2.0/glTFLoaderInterfaces";
|
|
|
import * as GLTF2 from "../src/glTF/2.0";
|
|
|
|
|
|
/**
|
|
@@ -18,6 +19,10 @@ if (typeof globalObject !== "undefined") {
|
|
|
BABYLON.GLTF2.Loader.Extensions[key] = (<any>Extensions)[key];
|
|
|
keys.push(key);
|
|
|
}
|
|
|
+ for (var key in Interfaces) {
|
|
|
+ BABYLON.GLTF2.Loader[key] = (<any>Interfaces)[key];
|
|
|
+ keys.push(key);
|
|
|
+ }
|
|
|
|
|
|
for (var key in GLTF2) {
|
|
|
// Prevent Reassignment.
|