vendor/GLTFExporter.js
function processObjects(objects) {
      var scene = new THREE.Scene();
      scene.name = 'AuxScene';

      for (var i = 0; i < objects.length; i++) {
        // We push directly to children instead of calling `add` to prevent
        // modify the .parent and break its original scene and hierarchy
        scene.children.push(objects[i]);
      }

      processScene(scene);
    }
function processObjects(objects) {
      var scene = new THREE.Scene();
      scene.name = 'AuxScene';

      for (var i = 0; i < objects.length; i++) {
        // We push directly to children instead of calling `add` to prevent
        // modify the .parent and break its original scene and hierarchy
        scene.children.push(objects[i]);
      }

      processScene(scene);
    }
function processObjects ( objects ) { var scene = new THREE . Scene ( ) ; scene . name = 'AuxScene' ; for ( var i = 0 ; i < objects . length ; i ++ ) { // We push directly to children instead of calling `add` to prevent // modify the .parent and break its original scene and hierarchy scene . children . push ( objects [ i ] ) ; } processScene ( scene ) ; }
Creates a THREE.Scene to hold a list of objects and parse it
@param  {Array} objects List of objects to process
Creates a THREE . Scene to hold a list of objects and parse it