瀏覽代碼

PDBLoader: Cleanup

Mugen87 8 年之前
父節點
當前提交
ceb9b0f528
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 ) );