Pierre Lepers 11 lat temu
rodzic
commit
d330b52755
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      examples/js/loaders/AWDLoader.js

+ 3 - 1
examples/js/loaders/AWDLoader.js

@@ -8,7 +8,9 @@
 
   var littleEndian = true;
 
-  THREE.AWDLoader = function ( showStatus ) {
+  THREE.AWDLoader = AWDLoader;
+
+  function AWDLoader( showStatus ) {
 
     THREE.Loader.call( this, showStatus );