Ver código fonte

PDBLoader: Cleanup

Mugen87 8 anos atrás
pai
commit
ceb9b0f528
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      examples/js/loaders/PDBLoader.js

+ 2 - 2
examples/js/loaders/PDBLoader.js

@@ -175,8 +175,8 @@ THREE.PDBLoader.prototype = {
 
 		}
 
-		geometryAtoms.addAttribute( 'position',  new THREE.Float32BufferAttribute( verticesAtoms, 3 ) );
-		geometryAtoms.addAttribute( 'color',  new THREE.Float32BufferAttribute( colors, 3 ) );
+		geometryAtoms.addAttribute( 'position', new THREE.Float32BufferAttribute( verticesAtoms, 3 ) );
+		geometryAtoms.addAttribute( 'color', new THREE.Float32BufferAttribute( colors, 3 ) );
 
 		geometryBonds.addAttribute( 'position', new THREE.Float32BufferAttribute( verticesBonds, 3 ) );