title: Error loading obj THREE js
body: <p>I'm trying to load a .obj file to my project using Threejs and I'm getting an error:</p>
  
  <pre><code>Uncaught TypeError: geometry.computeCentroids is not a function
  at THREE.OBJLoader.parse (OBJLoader.js:304)
  at XMLHttpRequest.&lt;anonymous&gt; (OBJLoader.js:22)
  </code></pre>
  
  <p>I've been searching for a solution, but I didn't find anything. Does someone have a clue?</p>
  
  <p>Obs: I would like to post my code here, but I'm not allowed by stackoverflow.</p>