title: How to compute bounding box after using ObjLoader three.js
body: <p>I'm running into an issue trying to get the bounding box of the geometry of a model after it is loaded with the OBJLoader. So far I have:</p>
  
  <pre><code>var loader = new THREE.OBJLoader();
  loader.load( mURL, function ( object ) {
  
  for ( var i = 0, l = object.children.length; i &lt; l; i ++ ) {
      geometry = object.children[0].geometry;         
      bBox = geometry.computeBoundingBox();
      console.log("have a box of "+bBox);
  }
  //...rest of function
  </code></pre>
  
  <p>But the bBox is undefined when I write it to the console. Is geometry not the right property to access in this case?</p>