|
@@ -69,7 +69,6 @@ THREE.VTKLoader.prototype = {
|
|
|
var geometry = new THREE.BufferGeometry();
|
|
|
geometry.addAttribute( 'index', new THREE.BufferAttribute( new ( indices.length > 65535 ? Uint32Array : Uint16Array )( indices ), 1 ) );
|
|
|
geometry.addAttribute( 'position', new THREE.BufferAttribute( new Float32Array( positions ), 3 ) );
|
|
|
- geometry.computeVertexNormals();
|
|
|
|
|
|
return geometry;
|
|
|
|