Ver código fonte

fix VTKLoader for dev branch

Sebastien Valette 13 anos atrás
pai
commit
599794415c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/js/VTKLoader.js

+ 1 - 1
examples/js/VTKLoader.js

@@ -22,7 +22,7 @@ THREE.VTKLoader.prototype.load = function( url, callback) {
 
 		function v( x, y, z ) {
 
-			geometry.vertices.push( new THREE.Vertex( new THREE.Vector3( x, y, z ) ) );
+			geometry.vertices.push( new THREE.Vector3( x, y, z ) );
 
 		}