فهرست منبع

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 ) );