title: How to create a custom mesh on THREE.JS?
body: <p>I've asked this and got the answer:</p>
  
  <pre class="lang-js prettyprint-override"><code>var geom = new THREE.Geometry(); 
  var v1 = new THREE.Vector3(0,0,0);
  var v2 = new THREE.Vector3(0,500,0);
  var v3 = new THREE.Vector3(0,500,500);
  
  geom.vertices.push(new THREE.Vertex(v1));
  geom.vertices.push(new THREE.Vertex(v2));
  geom.vertices.push(new THREE.Vertex(v3));
  
  var object = new THREE.Mesh( geom, new THREE.MeshNormalMaterial() );
  scene.addObject(object);
  </code></pre>
  
  <p>I expected this to work but it didn't.</p>