Browse Source

fix VTKLoader for dev branch

Sebastien Valette 13 năm trước cách đây
mục cha
commit
599794415c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 ) );
 
 		}